Ignore:
Timestamp:
May 3, 2016, 5:25:45 PM (10 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update trunk to version 16.4

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/playlist.h

    r165 r176  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2014 Ricardo Villalba <[email protected]>
     2    Copyright (C) 2006-201 Ricardo Villalba <[email protected]>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    1818
    1919
    20 #ifndef _PLAYLIST_H_
    21 #define _PLAYLIST_H_
     20#ifndef
     21#define
    2222
    2323#include <QList>
    2424#include <QStringList>
    2525#include <QWidget>
     26
    2627
    2728class PlaylistItem {
     
    119120        // <--
    120121
     122
     123
    121124        virtual bool maybeSave();
    122125    virtual void load();
     
    128131        virtual void load_pls(QString file);
    129132        virtual bool save_pls(QString file);
     133
     134
     135
    130136
    131137        virtual void getMediaInfo();
     
    138144        void setSavePlaylistOnExit(bool b) { save_playlist_in_config = b; };
    139145        void setPlayFilesFromStart(bool b) { play_files_from_start = b; };
     146
    140147
    141148public:
     
    144151        bool savePlaylistOnExit() { return save_playlist_in_config; };
    145152        bool playFilesFromStart() { return play_files_from_start; };
     153
    146154
    147155        QList<PlaylistItem> playlist(){return pl;};
     
    183191        virtual void maybeSaveSettings();
    184192
     193
     194
     195
    185196protected:
    186197        void createTable();
     
    236247        MyAction * removeAllAct;
    237248
     249
     250
    238251private:
    239252        bool modified;
     
    244257        bool automatically_get_info;
    245258        bool save_playlist_in_config;
    246         bool play_files_from_start; 
     259        bool play_files_from_start;
    247260        int row_spacing;
    248261
    249262        bool automatically_play_next;
     263
    250264};
    251265
Note: See TracChangeset for help on using the changeset viewer.