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.h31
1 files changed, 19 insertions, 12 deletions
diff --git a/c++-libbu++/src/gatscon/proxywidget.h b/c++-libbu++/src/gatscon/proxywidget.h
index d6ebf4d..1674a34 100644
--- a/c++-libbu++/src/gatscon/proxywidget.h
+++ b/c++-libbu++/src/gatscon/proxywidget.h
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libgats library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#ifndef PROXY_WIDGET_H 8#ifndef PROXY_WIDGET_H
2#define PROXY_WIDGET_H 9#define PROXY_WIDGET_H
3 10
@@ -6,28 +13,28 @@
6 13
7namespace Gats 14namespace Gats
8{ 15{
9 class Object; 16 class Object;
10}; 17};
11 18
12class ProxyWidget : public QWidget, protected Ui::ProxyWidget, public IoBase 19class ProxyWidget : public QWidget, protected Ui::ProxyWidget, public IoBase
13{ 20{
14 Q_OBJECT; 21 Q_OBJECT;
15public: 22public:
16 ProxyWidget( QWidget *pParent, int iPortIn, const QByteArray baHost, 23 ProxyWidget( QWidget *pParent, int iPortIn, const QByteArray baHost,
17 int iPortOut ); 24 int iPortOut );
18 virtual ~ProxyWidget(); 25 virtual ~ProxyWidget();
19 26
20 virtual void saveTo( const QString &sFile ); 27 virtual void saveTo( const QString &sFile );
21 28
22public slots: 29public slots:
23 void sendToClient(); 30 void sendToClient();
24 void sendToServer(); 31 void sendToServer();
25 void clientRecv( Gats::Object *pObj ); 32 void clientRecv( Gats::Object *pObj );
26 void hostRecv( Gats::Object *pObj ); 33 void hostRecv( Gats::Object *pObj );
27 void gotConnection(); 34 void gotConnection();
28 35
29private: 36private:
30 class ProxyThread *pPrx; 37 class ProxyThread *pPrx;
31}; 38};
32 39
33#endif 40#endif