kwave  18.07.70
UndoHandler.h
Go to the documentation of this file.
1 /***************************************************************************
2  UndoHandler.h - abstract base class for undo saving
3  -------------------
4  begin : Sat Feb 01 2014
5  copyright : (C) 2014 by Thomas Eschenbacher
6  email : Thomas.Eschenbacher@gmx.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef UNDO_HANDLER_H
19 #define UNDO_HANDLER_H
20 
21 #include "config.h"
22 
23 #include <QtGlobal>
24 
25 namespace Kwave
26 {
27 
28  class UndoTransaction;
29 
30  class Q_DECL_EXPORT UndoHandler
31  {
32  public:
33 
36  {}
37 
39  virtual ~UndoHandler() {}
40 
50  virtual bool saveUndoData(Kwave::UndoTransaction &undo) = 0;
51 
52  };
53 }
54 
55 #endif /* UNDO_HANDLER_H */
56 
57 //***************************************************************************
58 //***************************************************************************
Definition: App.h:33
virtual ~UndoHandler()
Definition: UndoHandler.h:39