mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
853dfa6673
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>
41 lines
378 B
C++
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)
|
|
{
|
|
|
|
}
|