Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
[tpg/acess2.git] / Usermode / Libraries / libaxwin4.so_src / include / CIPCChannel_AcessIPCPipe.hpp
diff --git a/Usermode/Libraries/libaxwin4.so_src/include/CIPCChannel_AcessIPCPipe.hpp b/Usermode/Libraries/libaxwin4.so_src/include/CIPCChannel_AcessIPCPipe.hpp
new file mode 100644 (file)
index 0000000..d04d052
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Acess2 GUIv4 Library
+ * - By John Hodge (thePowersGang)
+ *
+ * CIPCChannel_AcessIPCPipe.h
+ * - Acess IPC Datagram pipe
+ */
+#ifndef _LIBAXWIN4_CIPCCHANNEL_ACESSIPCPIPE_H_
+#define _LIBAXWIN4_CIPCCHANNEL_ACESSIPCPIPE_H_
+
+#include "IIPCChannel.hpp"
+
+namespace AxWin {
+
+class CIPCChannel_AcessIPCPipe:
+       public IIPCChannel
+{
+        int    m_fd;
+public:
+       CIPCChannel_AcessIPCPipe(const char *Path);
+       virtual ~CIPCChannel_AcessIPCPipe();
+       virtual int     FillSelect(fd_set& fds);
+       virtual bool    HandleSelect(const fd_set& fds);
+       virtual void    Send(CSerialiser& message);
+};
+
+};     // namespace AxWin
+
+#endif
+

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