Changeset 176 for smplayer/trunk/src/playerprocess.h
- Timestamp:
- May 3, 2016, 5:25:45 PM (9 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 175
- Property svn:mergeinfo changed
-
smplayer/trunk/src/playerprocess.h
r175 r176 26 26 #include "assstyles.h" 27 27 #include <QVariant> 28 #ifdef Q_OS_OS2 29 #include <QThread> 30 #include <qt_os2.h> 31 #endif 32 33 #ifdef Q_OS_OS2 34 class PipeThread : public QThread 35 { 36 public: 37 PipeThread(const QByteArray t, const HPIPE pipe); 38 ~PipeThread(); 39 void run(); 40 41 private: 42 HPIPE hpipe; 43 QByteArray text; 44 }; 45 #endif 28 46 29 47 class PlayerProcess : public MyProcess … … 132 150 static PlayerProcess * createPlayerProcess(const QString & player_bin, QObject * parent = 0); 133 151 152 #if defined(Q_OS_OS2) 153 void PpipeOpen(const char *szPipeName); 154 void PpipeClose(); 155 void PpipeWrite(const QByteArray text); 156 #endif 157 134 158 // Signals 135 159 signals: … … 203 227 204 228 PlayerID::Player player_id; 229 230 #if defined(Q_OS_OS2) 231 PipeThread *pipeThread; 232 HPIPE hpipe; 233 PID pidMP; 234 #endif 235 205 236 }; 206 237
Note:
See TracChangeset
for help on using the changeset viewer.