summaryrefslogtreecommitdiffstats
path: root/qt-ui/undocommands.h
blob: 9a7803f9e7c9df0f9fbd48c5c117309c20d1452c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef UNDOCOMMANDS_H
#define UNDOCOMMANDS_H

#include <QUndoCommand>
#include "dive.h"

class UndoDeleteDive : public QUndoCommand {
public:
	UndoDeleteDive(QList<struct dive*> diveList);
	virtual void undo();
	virtual void redo();

private:
	QList<struct dive*> dives;
};

#endif // UNDOCOMMANDS_H