diff options
Diffstat (limited to 'examples/network/remotecontrol/ipcserver.h')
-rw-r--r-- | examples/network/remotecontrol/ipcserver.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/network/remotecontrol/ipcserver.h b/examples/network/remotecontrol/ipcserver.h new file mode 100644 index 000000000..f4c86f49f --- /dev/null +++ b/examples/network/remotecontrol/ipcserver.h @@ -0,0 +1,20 @@ +#ifndef IPCSERVER_H +#define IPCSERVER_H + +#include <qserversocket.h> + +class IpcServer : public TQServerSocket +{ + Q_OBJECT + +public: + IpcServer( Q_UINT16 port, TQObject *parent ); + + void newConnection( int socket ); + +signals: + void receivedText( const TQString& ); + void receivedPixmap( const TQPixmap& ); +}; + +#endif // IPCSERVER_H |