diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-05-17 01:24:51 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-05-17 01:24:51 +0000 |
commit | efcbdb7a0347b4399cbabacf3cbea432eeafb17b (patch) | |
tree | d468a9d8e129cba0cef68a09421c0e21c720ede6 /src/gatscon/clientwidget.h | |
parent | 02c60c6720f41bcfc367d02ae4c655b651642991 (diff) | |
download | libgats-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.h | 13 |
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> | 6 | namespace Gats |
7 | #include <gats/gatsstream.h> | 7 | { |
8 | class Object; | ||
9 | }; | ||
8 | 10 | ||
9 | class ClientWidget : public QWidget, protected Ui::ClientWidget | 11 | class 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 | ||
18 | public slots: | ||
19 | void send(); | ||
20 | void recv( Gats::Object *pObj ); | ||
21 | |||
16 | private: | 22 | private: |
17 | Bu::StreamStack ssCli; | 23 | class ClientThread *pCli; |
18 | Gats::GatsStream gsCli; | ||
19 | }; | 24 | }; |
20 | 25 | ||
21 | #endif | 26 | #endif |