diff --git a/ActionManager.cpp b/ActionManager.cpp new file mode 100644 index 0000000..a4e68fb --- /dev/null +++ b/ActionManager.cpp @@ -0,0 +1,28 @@ +#include "ActionManager.h" + +Action::Action() +{ + +} + + +void Action::clear() +{ + +} + +void Action::capture() +{ + +} + +void Action::undo() +{ + +} + +void Action::redo() +{ + +} + diff --git a/ActionManager.h b/ActionManager.h new file mode 100644 index 0000000..9bf557d --- /dev/null +++ b/ActionManager.h @@ -0,0 +1,31 @@ +#ifndef ACTIONMANAGER_H +#define ACTIONMANAGER_H + + +class Action +{ + // Private Constructor + Action(); + Action(Action const& copy); // Not Implemented + Action& operator=(Action const& copy); // Not Implemented + +public: + + static Action& manager() + { + // The only instance + static Action _instance; + return _instance; + } + + void clear(); + void capture(); + + void undo(); + void redo(); + +private: + +}; + +#endif // ACTIONMANAGER_H diff --git a/CMakeLists.txt b/CMakeLists.txt index edd8193..9d6a294 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -254,6 +254,7 @@ set(VMIX_SRCS GlmToolkit.cpp SystemToolkit.cpp tinyxml2Toolkit.cpp + ActionManager.cpp ) set(VMIX_RSC_FILES