treeitem.h
changeset 794 d922fb6ea482
parent 791 f1006de05c54
child 795 6b0a5f4923d3
     1.1 --- a/treeitem.h	Wed Sep 09 12:57:06 2009 +0000
     1.2 +++ b/treeitem.h	Fri Sep 11 12:56:15 2009 +0000
     1.3 @@ -9,11 +9,12 @@
     1.4  #include "noteobj.h"
     1.5  #include "xmlobj.h"
     1.6  
     1.7 -class LinkableMapObj;
     1.8 +class AttributeItem;
     1.9  class BranchObj;
    1.10  class BranchItem;
    1.11  class FloatImageObj;
    1.12  class ImageItem;
    1.13 +class LinkableMapObj;
    1.14  class VymModel;
    1.15  class XLinkItem;
    1.16  class XLinkObj;
    1.17 @@ -21,7 +22,7 @@
    1.18  class TreeItem:public XMLObj
    1.19  {
    1.20  public:
    1.21 -	enum Type {Undefined,MapCenter,Branch,Image,Attribute,XLink};	//FIXME-3 MapCenter still needed?
    1.22 +	enum Type {Undefined,MapCenter,Branch,Image,Attribute,XLink};
    1.23  	enum HideTmpMode {HideNone, HideExport};
    1.24  
    1.25      TreeItem();
    1.26 @@ -155,6 +156,8 @@
    1.27  	virtual ImageItem* getImageNum(const int &n);
    1.28  	virtual FloatImageObj* getImageObjNum(const int &n);
    1.29  
    1.30 +	virtual AttributeItem* getAttributeNum(const int &n);
    1.31 +
    1.32  	virtual XLinkItem* getXLinkNum(const int &n);
    1.33  	virtual XLinkObj* getXLinkObjNum(const int &n);
    1.34