#pragma once
|
#include "stdafx.h"
|
|
/************************************************************************/
|
/* ÓÃÓÚÓÃʱ±È½Ï³¤µÄ³õʼ»¯ */
|
/************************************************************************/
|
class CMBThreadInit :
|
protected CThreadObject
|
{
|
public:
|
CMBThreadInit(void);
|
~CMBThreadInit(void);
|
private:
|
CMBServerMgr *m_pSvrMgr; // ·þÎñ¹ÜÀíÆ÷
|
BOOL m_bStop; // Í£Ö¹±êʶ
|
HWND m_hWnd;
|
public:
|
virtual UINT Run();
|
public:
|
void StartThread(); // ¿ªÊ¼Ïß³Ì
|
void OverThread(); // ½áÊøÏß³Ì
|
public:
|
void SetSvrMgr(CMBServerMgr *pSvrMgr );
|
void SetHwnd( HWND &hWnd );
|
};
|