aboutsummaryrefslogtreecommitdiff
path: root/src/gatscon/clientwidget.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-05-17 01:24:51 +0000
committerMike Buland <eichlan@xagasoft.com>2011-05-17 01:24:51 +0000
commitefcbdb7a0347b4399cbabacf3cbea432eeafb17b (patch)
treed468a9d8e129cba0cef68a09421c0e21c720ede6 /src/gatscon/clientwidget.h
parent02c60c6720f41bcfc367d02ae4c655b651642991 (diff)
downloadlibgats-efcbdb7a0347b4399cbabacf3cbea432eeafb17b.tar.gz
libgats-efcbdb7a0347b4399cbabacf3cbea432eeafb17b.tar.bz2
libgats-efcbdb7a0347b4399cbabacf3cbea432eeafb17b.tar.xz
libgats-efcbdb7a0347b4399cbabacf3cbea432eeafb17b.zip
Gats::Object now has a strToGats function, it's pretty slick, it takes a string
and produces a fully formed gats tree. Also, gatscon now can interact with a server directly.
Diffstat (limited to 'src/gatscon/clientwidget.h')
-rw-r--r--src/gatscon/clientwidget.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/gatscon/clientwidget.h b/src/gatscon/clientwidget.h
index 3a96f07..21fb1b7 100644
--- a/src/gatscon/clientwidget.h
+++ b/src/gatscon/clientwidget.h
@@ -3,8 +3,10 @@
3 3
4#include "ui_clientwidget.h" 4#include "ui_clientwidget.h"
5 5
6#include <bu/streamstack.h> 6namespace Gats
7#include <gats/gatsstream.h> 7{
8 class Object;
9};
8 10
9class ClientWidget : public QWidget, protected Ui::ClientWidget 11class ClientWidget : public QWidget, protected Ui::ClientWidget
10{ 12{
@@ -13,9 +15,12 @@ public:
13 ClientWidget( QWidget *pParent=NULL ); 15 ClientWidget( QWidget *pParent=NULL );
14 virtual ~ClientWidget(); 16 virtual ~ClientWidget();
15 17
18public slots:
19 void send();
20 void recv( Gats::Object *pObj );
21
16private: 22private:
17 Bu::StreamStack ssCli; 23 class ClientThread *pCli;
18 Gats::GatsStream gsCli;
19}; 24};
20 25
21#endif 26#endif