Changeset 128 for smplayer/trunk/src/smplayer.h
- Timestamp:
- Mar 29, 2012, 4:53:15 PM (13 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 127
- Property svn:mergeinfo changed
-
smplayer/trunk/src/smplayer.h
r124 r128 27 27 class SMPlayer : public QObject 28 28 { 29 Q_OBJECT 30 29 31 public: 30 32 enum ExitCode { ErrorArgument = -3, NoAction = -2, NoRunningInstance = -1, NoError = 0, NoExit = 1 }; … … 40 42 void start(); 41 43 44 #ifdef GUI_CHANGE_ON_RUNTIME 45 private slots: 46 void changeGUI(QString new_gui); 47 #endif 48 42 49 private: 50 BaseGui * createGUI(QString gui_name); 51 void deleteGUI(); 43 52 #ifndef PORTABLE_APP 44 53 void createConfigDirectory(); … … 46 55 void showInfo(); 47 56 48 BaseGui * main_window;57 static BaseGui * main_window; 49 58 50 51 52 59 QStringList files_to_play; 60 QString subtitle_file; 61 QString actions_list; //!< Actions to be run on startup 53 62 QString gui_to_use; 54 63 … … 63 72 int close_at_end; // -1 = not set, 1 = true, 0 false 64 73 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 66 81 }; 67 82
Note:
See TracChangeset
for help on using the changeset viewer.