4 #include "linkablemapobj.h"
5 #include "mapcenterobj.h"
7 enum SelectionType {Undefined,Branch,MapCenter,FloatImage};
14 void copy(const Selection&);
16 void setMapCenter (MapCenterObj *);
18 bool select (LinkableMapObj*);
19 bool select (const QString &);
25 LinkableMapObj * first(); // first in selection list
26 LinkableMapObj * single(); // NULL, if multiple selected
27 BranchObj* getBranch();
28 FloatImageObj* getFloatImage();
30 QString getSelectString();
34 QList <LinkableMapObj*> selectList;
35 QList <LinkableMapObj*> lastSelectList;
36 MapCenterObj *mapCenter;