This commit is contained in:
2013-08-22 04:27:21 +00:00
parent 05d671a6d9
commit 07ee34692c
6 changed files with 134 additions and 0 deletions

17
EventHandler.cpp Normal file
View File

@@ -0,0 +1,17 @@
// EventHandler.cpp
#include "stdafx.h"
#include "EventHandler.h"
void CEventHandler::SetIEventHandler(IEventHandler* pIEventHandler)
{
m_pIEventHandler = pIEventHandler;
}
void __stdcall CEventHandler::Received()
{
ASSERT(NULL != m_pIEventHandler);
m_pIEventHandler->Received();
}