diff -r b7447adddc9a -r 5522d1da7e37 selection.h --- a/selection.h Wed Jan 10 13:26:12 2007 +0000 +++ b/selection.h Tue Jan 23 11:50:53 2007 +0000 @@ -4,6 +4,8 @@ #include "linkablemapobj.h" #include "mapcenterobj.h" +enum SelectionType {Undefined,Branch,MapCenter,FloatImage}; + class Selection { public: @@ -15,15 +17,18 @@ bool select (LinkableMapObj*); bool select (const QString &); + bool reselect (); void unselect (); bool isEmpty(); uint count(); + SelectionType type(); QString getSelectString(); private: void init(); QList selectList; + QList lastSelectList; MapCenterObj *mapCenter; }; #endif