diff -r d85834ad8c54 -r 133e2ed6b9c5 treeitem.h --- a/treeitem.h Mon Aug 24 14:39:07 2009 +0000 +++ b/treeitem.h Thu Sep 03 08:52:00 2009 +0000 @@ -6,7 +6,6 @@ #include #include "flagrow.h" -//#include "mapitem.h" #include "noteobj.h" #include "xmlobj.h" @@ -16,11 +15,13 @@ class FloatImageObj; class ImageItem; class VymModel; +class XLinkItem; +class XLinkObj; class TreeItem:public XMLObj { public: - enum Type {Undefined,MapCenter,Branch,Image,Attribute}; //FIXME-3 MapCenter still needed? + enum Type {Undefined,MapCenter,Branch,Image,Attribute,XLink}; //FIXME-3 MapCenter still needed? enum HideTmpMode {HideNone, HideExport}; TreeItem(); @@ -155,6 +156,9 @@ virtual ImageItem* getImageNum(const int &n); virtual FloatImageObj* getImageObjNum(const int &n); + virtual XLinkItem* getXLinkNum(const int &n); + virtual XLinkObj* getXLinkObjNum(const int &n); + protected: bool hideExport; //! Hide this item in export public: @@ -185,6 +189,9 @@ int attributeOffset; int attributeCounter; + int xlinkOffset; + int xlinkCounter; + bool hidden; //! Hidden in export if true };