summaryrefslogtreecommitdiffstats
path: root/qt-ui/undobuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/undobuffer.cpp')
-rw-r--r--qt-ui/undobuffer.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/qt-ui/undobuffer.cpp b/qt-ui/undobuffer.cpp
index fd74466be..1812f6f7a 100644
--- a/qt-ui/undobuffer.cpp
+++ b/qt-ui/undobuffer.cpp
@@ -39,3 +39,21 @@ void UndoBuffer::recordAfter(dive *affectedDive)
{
}
+
+
+
+UndoCommand::UndoCommand(QString commandName, dive *affectedDive)
+{
+ name = commandName;
+ stateBefore = affectedDive;
+}
+
+void UndoCommand::undo()
+{
+
+}
+
+void UndoCommand::redo()
+{
+
+}