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 0000000..2dc2515
--- /dev/null
+++ b/examples/network/remotecontrol/ipcserver.h
@@ -0,0 +1,20 @@
+#ifndef IPCSERVER_H
+#define IPCSERVER_H
+
+#include <qserversocket.h>
+
+class IpcServer : public QServerSocket
+{
+ Q_OBJECT
+
+public:
+ IpcServer( Q_UINT16 port, QObject *parent );
+
+ void newConnection( int socket );
+
+signals:
+ void receivedText( const QString& );
+ void receivedPixmap( const QPixmap& );
+};
+
+#endif // IPCSERVER_H