aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/tests/echo/mainwnd.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++-qt/tests/echo/mainwnd.h')
-rw-r--r--c++-qt/tests/echo/mainwnd.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/c++-qt/tests/echo/mainwnd.h b/c++-qt/tests/echo/mainwnd.h
new file mode 100644
index 0000000..0afbd6a
--- /dev/null
+++ b/c++-qt/tests/echo/mainwnd.h
@@ -0,0 +1,23 @@
1
2#include <QTcpServer>
3#include <QTcpSocket>
4#include <QMainWindow>
5
6#include "gats-qt/gatsstream.h"
7#include "gats-qt/types.h"
8
9class MainWnd : public QMainWindow
10{
11 Q_OBJECT;
12public:
13 QTcpServer *pSrv;
14
15 MainWnd();
16 virtual ~MainWnd();
17
18public slots:
19 void newConnection();
20 void objectRead( Gats::Object *pObj );
21
22signals:
23};