3 * - By John Hodge (thePowersGang)
6 * - IPC Interface Header
14 #include <acess/sys.h>
17 #include <serialisation.hpp>
18 #include <CConfigIPC.hpp>
27 extern void Initialise(const CConfigIPC& config, CCompositor& compositor);
28 extern int FillSelect(::fd_set& rfds);
29 extern void HandleSelect(const ::fd_set& rfds);
30 extern void RegisterClient(CClient& client);
31 extern CClient* GetClientByID(uint16_t id);
32 extern void DeregisterClient(CClient& client);
34 extern void SendMessage_NotifyDims(CClient& client, unsigned int NewW, unsigned int NewH);
36 extern void HandleMessage(CClient& client, CDeserialiser& message);
39 public ::std::exception
41 const std::string m_what;
43 CClientFailure(std::string&& what);
44 ~CClientFailure() throw();
45 const char *what() const throw();