// Manager.h: interface for the CManager class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MANAGER_H__32F1A4B3_8EA6_40C5_B1DF_E469F03FEC30__INCLUDED_)
#define AFX_MANAGER_H__32F1A4B3_8EA6_40C5_B1DF_E469F03FEC30__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class IOCPClient;

class CManager  
{
public:
	bool m_bIsDead; // bye-bye
	CManager(IOCPClient* ClientObject);
	virtual ~CManager();

	virtual VOID OnReceive(PBYTE szBuffer, ULONG ulLength){}
	IOCPClient* m_ClientObject;
	HANDLE	    m_hEventDlgOpen;
	VOID WaitForDialogOpen();
	VOID NotifyDialogIsOpen();

	int Send(LPBYTE lpData, UINT nSize);
};

#endif // !defined(AFX_MANAGER_H__32F1A4B3_8EA6_40C5_B1DF_E469F03FEC30__INCLUDED_)
