Usermode/AxWin4 - Server implemenation moving along
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / include / ipc.hpp
1 /*
2  * Acess2 GUI v4
3  * - By John Hodge (thePowersGang) 
4  *
5  * ipc.hpp
6  * - IPC Interface Header
7  */
8 #ifndef _IPC_H_
9 #define _IPC_H_
10
11 #include <exception>
12
13 extern "C" {
14 #include <acess/sys.h>
15 };
16
17 #include <CConfigIPC.hpp>
18
19 namespace AxWin {
20 class CCompositor;
21
22 namespace IPC {
23
24 extern void     Initialise(const CConfigIPC& config, CCompositor& compositor);
25 extern int      FillSelect(::fd_set& rfds);
26 extern void     HandleSelect(::fd_set& rfds);
27
28 class CClientFailure:
29         public ::std::exception
30 {
31         const std::string m_what;
32 public:
33         CClientFailure(std::string&& what);
34         ~CClientFailure() throw();
35         const char *what() const throw();
36 };
37
38 };      // namespace IPC
39 };      // namespace AxWin
40
41 #endif
42

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