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

smplayer: update trunk to version 16.4

Location:
smplayer/trunk
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/playerprocess.h

    r175 r176  
    2626#include "assstyles.h"
    2727#include <QVariant>
     28#ifdef Q_OS_OS2
     29#include <QThread>
     30#include <qt_os2.h>
     31#endif
     32
     33#ifdef Q_OS_OS2
     34class PipeThread : public QThread
     35{
     36public:
     37        PipeThread(const QByteArray t, const HPIPE pipe);
     38        ~PipeThread();
     39        void run();
     40
     41private:
     42        HPIPE hpipe;
     43        QByteArray text;
     44};
     45#endif
    2846
    2947class PlayerProcess : public MyProcess
     
    132150        static PlayerProcess * createPlayerProcess(const QString & player_bin, QObject * parent = 0);
    133151
     152#if defined(Q_OS_OS2)
     153        void PpipeOpen(const char *szPipeName);
     154        void PpipeClose();
     155        void PpipeWrite(const QByteArray text);
     156#endif
     157
    134158// Signals
    135159signals:
     
    203227
    204228        PlayerID::Player player_id;
     229
     230#if defined(Q_OS_OS2)
     231        PipeThread *pipeThread;       
     232        HPIPE hpipe;
     233        PID pidMP;
     234#endif
     235
    205236};
    206237
Note: See TracChangeset for help on using the changeset viewer.