1.1 --- a/vymmodel.h Wed Feb 10 13:48:42 2010 +0000
1.2 +++ b/vymmodel.h Fri Feb 19 13:47:03 2010 +0000
1.3 @@ -34,6 +34,9 @@
1.4 QString comment;
1.5 QDate date;
1.6
1.7 + static uint idLast; //! the last used unique ID
1.8 + uint mapID;
1.9 +
1.10 public:
1.11 VymModel();
1.12 ~VymModel ();
1.13 @@ -42,6 +45,7 @@
1.14 void makeTmpDirectories(); //!< create temporary directories e.g. for history
1.15
1.16 MapEditor* getMapEditor(); // FIXME-2 still necessary?
1.17 + uint getID(); //! Return unique ID of model
1.18
1.19 bool isRepositionBlocked(); //!< While load or undo there is no need to update graphicsview
1.20