Usermode/AxWin4 - Code now compiling (if STL is present)
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / CClient.cpp
1 /*
2  * Acess2 GUI v4
3  * - By John Hodge (thePowersGang)
4  *
5  * CClient.cpp
6  * - IPC Client
7  */
8 #include <CClient.hpp>
9
10 namespace AxWin {
11
12 CClient::CClient(IIPCChannel& channel):
13         m_channel(channel)
14 {
15         
16 }
17
18 CWindow* CClient::GetWindow(int ID)
19 {
20         if( ID == 0 )
21                 return 0;
22         
23         return m_windows[ID];
24 }
25
26 void CClient::SetWindow(int ID, CWindow* window)
27 {
28         if( m_windows[ID] ) {
29                 delete m_windows[ID];
30         }
31         m_windows[ID] = window;
32 }
33
34 void CClient::SendMessage(CSerialiser& reply)
35 {
36 }
37
38 };      // namespace AxWin
39

UCC git Repository :: git.ucc.asn.au