Changeset 118 for smplayer/vendor/current/src/mplayerprocess.h
- Timestamp:
- Dec 22, 2011, 6:27:52 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/mplayerprocess.h
r90 r118 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 0Ricardo Villalba <rvm@escomposlinux.org>2 Copyright (C) 2006-2011 Ricardo Villalba <rvm@escomposlinux.org> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 25 25 #include "config.h" 26 26 27 #ifdef Q_OS_OS2 28 #include <QThread> 29 #include <qt_os2.h> 30 #endif 31 27 32 #define NOTIFY_SUB_CHANGES 1 28 33 #define NOTIFY_AUDIO_CHANGES 1 34 35 #ifdef Q_OS_OS2 36 class PipeThread : public QThread 37 { 38 public: 39 PipeThread(const QByteArray t, const HPIPE pipe); 40 ~PipeThread(); 41 void run(); 42 43 private: 44 HPIPE hpipe; 45 QByteArray text; 46 }; 47 #endif 48 29 49 30 50 class QStringList; … … 95 115 void gotError(QProcess::ProcessError); 96 116 117 #if defined(Q_OS_OS2) 118 void MPpipeOpen(); 119 void MPpipeClose(); 120 void MPpipeWrite(const QByteArray text); 121 #endif 122 97 123 private: 98 124 bool notified_mplayer_is_running; … … 102 128 103 129 int last_sub_id; 130 131 #if defined(Q_OS_OS2) 132 PipeThread *pipeThread; 133 HPIPE hpipe; 134 PID pidMP; 135 #endif 104 136 105 137 int mplayer_svn;
Note:
See TracChangeset
for help on using the changeset viewer.