Usermode/AxWin4 - Server implementation runnable
[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
14 namespace AxWin {
15
16 class IIPCChannel;
17
18 class CClient
19 {
20         IIPCChannel&    m_channel;
21         
22         //::std::map<unsigned int,CWindow*>     m_windows;
23         CWindow*        m_windows[1];
24 public:
25         CClient(::AxWin::IIPCChannel& channel);
26         virtual ~CClient();
27         
28         CWindow*        GetWindow(int ID);
29         void    SetWindow(int ID, CWindow* window);
30         
31         virtual void    SendMessage(CSerialiser& reply) = 0;
32         void    HandleMessage(CDeserialiser& message);
33 };
34
35
36 };
37
38 #endif
39

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