Add a structure to hold undo commands

Add the undocommands.cpp / undocommands.h files, which will hold a
collection of classes that will hold undo commands.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Grace Karanja 2015-02-11 09:28:43 +03:00 committed by Dirk Hohndel
parent ef14798d6d
commit 6d996a7874
3 changed files with 37 additions and 2 deletions

16
qt-ui/undocommands.cpp Normal file
View file

@ -0,0 +1,16 @@
#include "undocommands.h"
UndoDeleteDive::UndoDeleteDive(QList<dive *> diveList)
{
}
void UndoDeleteDive::undo()
{
}
void UndoDeleteDive::redo()
{
}