Ignore:
Timestamp:
Mar 29, 2012, 4:53:15 PM (13 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: trunk update to latest svn

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/smplayer.h

    r124 r128  
    2727class SMPlayer : public QObject
    2828{
     29        Q_OBJECT
     30
    2931public:
    3032        enum ExitCode { ErrorArgument = -3, NoAction = -2, NoRunningInstance = -1, NoError = 0, NoExit = 1 };
     
    4042        void start();
    4143
     44#ifdef GUI_CHANGE_ON_RUNTIME
     45private slots:
     46        void changeGUI(QString new_gui);
     47#endif
     48
    4249private:
     50        BaseGui * createGUI(QString gui_name);
     51        void deleteGUI();
    4352#ifndef PORTABLE_APP
    4453        void createConfigDirectory();
     
    4655        void showInfo();
    4756
    48         BaseGui * main_window;
     57        static BaseGui * main_window;
    4958
    50     QStringList files_to_play;
    51     QString subtitle_file;
    52     QString actions_list; //!< Actions to be run on startup
     59        QStringList files_to_play;
     60        QString subtitle_file;
     61        QString actions_list; //!< Actions to be run on startup
    5362        QString gui_to_use;
    5463
     
    6372        int close_at_end; // -1 = not set, 1 = true, 0 false
    6473        int start_in_fullscreen; // -1 = not set, 1 = true, 0 false
    65         bool use_control_server;
     74
     75#ifdef LOG_SMPLAYER
     76        // Output log
     77        static QFile output_log;
     78        static void myMessageOutput( QtMsgType type, const char *msg );
     79        static bool allow_to_send_log_to_gui;
     80#endif
    6681};
    6782
Note: See TracChangeset for help on using the changeset viewer.