Usermode/AxWin4 - Code now compiling (if STL is present)
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / include / CClient.hpp
diff --git a/Usermode/Applications/axwin4_src/Server/include/CClient.hpp b/Usermode/Applications/axwin4_src/Server/include/CClient.hpp
new file mode 100644 (file)
index 0000000..44961da
--- /dev/null
@@ -0,0 +1,38 @@
+/*
+ * Acess2 GUI v4
+ * - By John Hodge (thePowersGang) 
+ *
+ * CClient.hpp
+ * - IPC Client
+ */
+#ifndef _CCLIENT_H_
+#define _CCLIENT_H_
+
+#include "CWindow.hpp"
+#include "serialisation.hpp"
+
+class IIPCChannel;
+
+namespace AxWin {
+
+class CClient
+{
+       IIPCChannel&    m_channel;
+       
+       //::std::map<unsigned int,CWindow*>     m_windows;
+       CWindow*        m_windows[1];
+public:
+       CClient(IIPCChannel& channel);
+       ~CClient();
+       
+       CWindow*        GetWindow(int ID);
+       void    SetWindow(int ID, CWindow* window);
+       
+       void    SendMessage(CSerialiser& reply);
+};
+
+
+};
+
+#endif
+

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