aboutsummaryrefslogtreecommitdiff
path: root/src/gatscon/proxywidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gatscon/proxywidget.h')
-rw-r--r--src/gatscon/proxywidget.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/gatscon/proxywidget.h b/src/gatscon/proxywidget.h
new file mode 100644
index 0000000..0ef1fd4
--- /dev/null
+++ b/src/gatscon/proxywidget.h
@@ -0,0 +1,30 @@
1#ifndef PROXY_WIDGET_H
2#define PROXY_WIDGET_H
3
4#include "ui_proxywidget.h"
5
6namespace Gats
7{
8 class Object;
9};
10
11class ProxyWidget : public QWidget, protected Ui::ProxyWidget
12{
13 Q_OBJECT;
14public:
15 ProxyWidget( QWidget *pParent, int iPortIn, const QByteArray baHost,
16 int iPortOut );
17 virtual ~ProxyWidget();
18
19public slots:
20 void sendToClient();
21 void sendToServer();
22 void clientRecv( Gats::Object *pObj );
23 void hostRecv( Gats::Object *pObj );
24 void gotConnection();
25
26private:
27 class ProxyThread *pPrx;
28};
29
30#endif