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