1
/* ============================================================
2
* Author: Renchi Raju <renchi@pooh.tam.uiuc.edu>
4
* Copyright 2005 by Renchi Raju
6
* This program is free software; you can redistribute it
7
* and/or modify it under the terms of the GNU General
8
* Public License as published by the Free Software Foundation;
9
* either version 2, or (at your option)
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
* ============================================================ */
30
UndoAction(Digikam::ImlibInterface* iface);
31
virtual ~UndoAction();
33
virtual void rollBack() = 0;
37
Digikam::ImlibInterface* m_iface;
40
class UndoActionRotate : public UndoAction
51
UndoActionRotate(Digikam::ImlibInterface* iface, Angle angle);
61
class UndoActionFlip : public UndoAction
71
UndoActionFlip(Digikam::ImlibInterface* iface, Direction dir);
81
class UndoActionBCG : public UndoAction
85
UndoActionBCG(Digikam::ImlibInterface* iface,
86
double gamma, double brightness,
99
class UndoActionIrreversible : public UndoAction
103
UndoActionIrreversible(Digikam::ImlibInterface* iface);
104
~UndoActionIrreversible();
109
#endif /* UNDOACTION_H */