3 * - By John Hodge (thePowersGang)
9 #include <IIPCChannel.hpp>
14 CClient::CClient(::AxWin::IIPCChannel& channel):
22 ::AxWin::IPC::DeregisterClient(*this);
25 CWindow* CClient::GetWindow(int ID)
33 void CClient::SetWindow(int ID, CWindow* window)
38 m_windows[ID] = window;
41 void CClient::HandleMessage(CDeserialiser& message)
44 IPC::HandleMessage(*this, message);
45 if( !message.IsConsumed() )
47 _SysDebug("NOTICE - CClient::HandleMessage - Trailing data in message");
50 catch( const ::std::exception& e )
52 _SysDebug("ERROR - Exception while processing message from client: %s", e.what());
56 _SysDebug("ERROR - Unknown exception while processing message from client");