Usermode/AxWin4 - Starting work on client-side library
[tpg/acess2.git] / Usermode / Libraries / libaxwin4.so_src / include / IIPCChannel.hpp
1 /*
2  * Acess2 GUIv4 Library
3  * - By John Hodge (thePowersGang)
4  *
5  * IIPCChannel.h
6  * - IPC Channel interface
7  */
8 #ifndef _LIBAXWIN4_IIPCCHANNEL_H_
9 #define _LIBAXWIN4_IIPCCHANNEL_H_
10
11 #include <serialisation.hpp>
12
13 #include <acess/sys.h>
14
15 namespace AxWin {
16
17 class IIPCChannel
18 {
19 public:
20         virtual ~IIPCChannel();
21         virtual int     FillSelect(fd_set& fds) = 0;
22         /**
23          * \return False if the connection has dropped/errored
24          */
25         virtual bool    HandleSelect(const fd_set& fds) = 0;
26         
27         virtual void    Send(CSerialiser& message) = 0;
28 };
29
30 };      // namespace AxWin
31
32 #endif
33

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