37 lines
743 B
C++
37 lines
743 B
C++
//---------------------------------------------------------------------------
|
|
|
|
#ifndef BacJSThreadH
|
|
#define BacJSThreadH
|
|
|
|
#include "BaseThread.h"
|
|
//---------------------------------------------------------------------------
|
|
// Êý¾Ý´¦ÀíÏß³Ì
|
|
|
|
#define JS_OP_CHECKCEF 0
|
|
#define JS_OP_WSHANDLE0 1
|
|
#define JS_OP_WSHANDLE1 2
|
|
#define JS_OP_WSHANDLE2 3
|
|
#define JS_OP_WSHANDLE3 4
|
|
#define JS_OP_GAMEON 5
|
|
|
|
//#define JS_OP_TOMULTI 3
|
|
|
|
class TJSHandleThread : public TBaseThread
|
|
{
|
|
private:
|
|
int __fastcall CheckCEF();
|
|
int __fastcall GetWSHandle();
|
|
int __fastcall GameOn();
|
|
|
|
public:
|
|
int m_op;
|
|
String m_sRet;
|
|
|
|
__fastcall TJSHandleThread(int iOp);
|
|
// __fastcall ~TJSHandleThread();
|
|
|
|
void __fastcall Execute();
|
|
};
|
|
|
|
#endif
|