27 #include "../../../common/STLUtils.h" 28 #include "../../../dataaccess/dataset/ObjectId.h" 29 #include "../../../qt/widgets/canvas/MapDisplay.h" 30 #include "../../../qt/widgets/Utils.h" 31 #include "../../Feature.h" 32 #include "../../Utils.h" 33 #include "../Renderer.h" 38 #include <QUndoCommand> QUndoStack * getUndoStack()
Method that return stack of Undo/Redo.
~UndoStackManager()
Singleton destructor.
void addWatch(Feature *feature)
const std::vector< Feature * > & getAddWatches() const
std::vector< Feature * > m_addWatches
void addUndoStack(QUndoCommand *command)
Method that insert command Undo/Redo of type AddCommand in the Undo/Redo stack.
UndoStackManager()
It initializes the singleton instance of the repository manager.
QUndoStack * m_undoStack
Undo/Redo stack.
void FreeContents(boost::unordered_map< K, V * > &m)
This function can be applied to a map of pointers. It will delete each pointer in the map...