Usermode/libc++ - Implement map::insert and map::erase
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / include / CClient.hpp
1 /*
2  * Acess2 GUI v4
3  * - By John Hodge (thePowersGang) 
4  *
5  * CClient.hpp
6  * - IPC Client
7  */
8 #ifndef _CCLIENT_H_
9 #define _CCLIENT_H_
10
11 #include "CWindow.hpp"
12 #include "serialisation.hpp"
13 #include <map>
14
15 namespace AxWin {
16
17 class IIPCChannel;
18
19 class CClient
20 {
21         IIPCChannel&    m_channel;
22         
23         ::std::map<unsigned int,CWindow*>       m_windows;
24         //CWindow*      m_windows[1];
25 public:
26         CClient(::AxWin::IIPCChannel& channel);
27         virtual ~CClient();
28         
29         CWindow*        GetWindow(int ID);
30         void    SetWindow(int ID, CWindow* window);
31         
32         virtual void    SendMessage(CSerialiser& reply) = 0;
33         void    HandleMessage(CDeserialiser& message);
34 };
35
36
37 };
38
39 #endif
40

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