summaryrefslogtreecommitdiffstats
path: root/examples/network/remotecontrol/ipcserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/remotecontrol/ipcserver.h')
-rw-r--r--examples/network/remotecontrol/ipcserver.h20
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 00000000..f4c86f49
--- /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