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/gatstotree.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/gatstotree.h')
-rw-r--r-- | src/gatscon/gatstotree.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gatscon/gatstotree.h b/src/gatscon/gatstotree.h index cab9eee..26fb76c 100644 --- a/src/gatscon/gatstotree.h +++ b/src/gatscon/gatstotree.h | |||
@@ -3,6 +3,25 @@ | |||
3 | 3 | ||
4 | class QTreeWidgetItem; | 4 | class QTreeWidgetItem; |
5 | 5 | ||
6 | namespace Gats | ||
7 | { | ||
8 | class Integer; | ||
9 | class String; | ||
10 | class Float; | ||
11 | class Boolean; | ||
12 | class List; | ||
13 | class Dictionary; | ||
14 | class Object; | ||
15 | }; | ||
16 | |||
17 | #include <gats/types.h> | ||
18 | |||
6 | void gatsToTree( QTreeWidgetItem *p, Gats::Object *pObj ); | 19 | void gatsToTree( QTreeWidgetItem *p, Gats::Object *pObj ); |
20 | void gatsToTree( QTreeWidgetItem *p, Gats::Integer *pObj ); | ||
21 | void gatsToTree( QTreeWidgetItem *p, Gats::String *pObj ); | ||
22 | void gatsToTree( QTreeWidgetItem *p, Gats::Float *pObj ); | ||
23 | void gatsToTree( QTreeWidgetItem *p, Gats::Boolean *pObj ); | ||
24 | void gatsToTree( QTreeWidgetItem *p, Gats::List *pObj ); | ||
25 | void gatsToTree( QTreeWidgetItem *p, Gats::Dictionary *pObj ); | ||
7 | 26 | ||
8 | #endif | 27 | #endif |