From efcbdb7a0347b4399cbabacf3cbea432eeafb17b Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 17 May 2011 01:24:51 +0000 Subject: 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. --- src/gatscon/gatstotree.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/gatscon/gatstotree.h') 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 @@ class QTreeWidgetItem; +namespace Gats +{ + class Integer; + class String; + class Float; + class Boolean; + class List; + class Dictionary; + class Object; +}; + +#include + void gatsToTree( QTreeWidgetItem *p, Gats::Object *pObj ); +void gatsToTree( QTreeWidgetItem *p, Gats::Integer *pObj ); +void gatsToTree( QTreeWidgetItem *p, Gats::String *pObj ); +void gatsToTree( QTreeWidgetItem *p, Gats::Float *pObj ); +void gatsToTree( QTreeWidgetItem *p, Gats::Boolean *pObj ); +void gatsToTree( QTreeWidgetItem *p, Gats::List *pObj ); +void gatsToTree( QTreeWidgetItem *p, Gats::Dictionary *pObj ); #endif -- cgit v1.2.3