subsurface/qt-ui/undobuffer.cpp
Grace Karanja 853dfa6673 Create UndoBuffer class
Add an empty UndoBuffer class. This will be built up on to
implement a working undo/redo mechanism.

Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-02-09 21:02:07 -08:00

41 lines
378 B
C++

#include "undobuffer.h"
UndoBuffer::UndoBuffer(QObject *parent) : QObject(parent)
{
}
UndoBuffer::~UndoBuffer()
{
}
bool UndoBuffer::canUndo()
{
}
bool UndoBuffer::canRedo()
{
}
void UndoBuffer::redo()
{
}
void UndoBuffer::undo()
{
}
void UndoBuffer::recordbefore(QString commandName, dive *affectedDive)
{
}
void UndoBuffer::recordAfter(dive *affectedDive)
{
}