26 #ifndef __TERRALIB_EDIT_QT_INTERNAL_UNDOSTACKMANAGER_H
27 #define __TERRALIB_EDIT_QT_INTERNAL_UNDOSTACKMANAGER_H
30 #include "../../Feature.h"
31 #include "../../RepositoryManager.h"
32 #include "../Config.h"
Template support for singleton pattern.
void addWatch(Feature *feature)
~UndoStackManager()
Singleton destructor.
QUndoStack * m_undoStack
Undo/Redo stack.
void addUndoStack(QUndoCommand *command)
Method that insert command Undo/Redo of type AddCommand in the Undo/Redo stack.
std::vector< Feature * > m_addWatches
const std::vector< Feature * > & getAddWatches() const
QUndoStack * getUndoStack()
Method that return stack of Undo/Redo.
UndoStackManager()
It initializes the singleton instance of the repository manager.
#define TEEDITQTEXPORT
You can use this macro in order to export/import classes and functions from this module.