mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 06:00:20 +00:00
18 lines
301 B
C
18 lines
301 B
C
|
#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
|