-
Notifications
You must be signed in to change notification settings - Fork 19
/
qipcthread.h
37 lines (27 loc) · 1.2 KB
/
qipcthread.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef QIPCTHREAD_H
#define QIPCTHREAD_H
#include <QThread>
#include <windows.h>
#include "./HKIPC/qipcevent.h"
class QIPCThread : public QThread
{
Q_OBJECT
public:
explicit QIPCThread(QObject *parent = 0);
virtual void InitializeThread( ) = 0;
virtual void PostIPCStartupEvent( ) = 0;
virtual void PostIPCSetConnectTimeoutEvent( QIPCEvent::EventParam& uParam ) = 0;
virtual void PostIPCSetReconnectTimeEvent( QIPCEvent::EventParam& uParam ) = 0;
virtual void PostIPCLoginEvent( QIPCEvent::EventParam& uParam ) = 0;
virtual void PostIPCCaptureJPGEvent( QIPCEvent::EventParam& uParam ) = 0;
virtual void PostIPCStartRealPlayEvent( QIPCEvent::EventParam& uParam ) = 0;
virtual void PostIPCStopRealPlayEvent( QIPCEvent::EventParam& uParam ) = 0;
virtual void PostIPCLogoutEvent( QIPCEvent::EventParam& uParam ) = 0;
virtual void PostIPCCleanupEvent( ) = 0;
virtual void PostIPCGateEvent( QIPCEvent::EventParam& uParam );
virtual void CapturePreviewImage( HWND hPlayWnd, QString& strFileName ) = 0;
virtual void CaptureDeviceImage( QString& strIP, QString& strFileName, HWND hPlayWnd = NULL ) = 0;
signals:
public slots:
};
#endif // QIPCTHREAD_H