Usermode/AxWin4 - Server implemenation moving along
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / include / ipc.hpp
index c51c201..d801953 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef _IPC_H_
 #define _IPC_H_
 
+#include <exception>
+
 extern "C" {
 #include <acess/sys.h>
 };
@@ -23,6 +25,16 @@ extern void  Initialise(const CConfigIPC& config, CCompositor& compositor);
 extern int     FillSelect(::fd_set& rfds);
 extern void    HandleSelect(::fd_set& rfds);
 
+class CClientFailure:
+       public ::std::exception
+{
+       const std::string m_what;
+public:
+       CClientFailure(std::string&& what);
+       ~CClientFailure() throw();
+       const char *what() const throw();
+};
+
 };     // namespace IPC
 };     // namespace AxWin
 

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