QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RTransactionStack.h
Go to the documentation of this file.
1 
20 #ifndef RTRANSACTIONSTACK_H
21 #define RTRANSACTIONSTACK_H
22 
23 #include "core_global.h"
24 
25 #include <QMetaType>
26 
27 #include "RNonCopyable.h"
28 #include "RTransaction.h"
29 
38 public:
39  RTransactionStack(RStorage& storage);
41 
42  void reset();
43 
44  RTransaction undo();
45  RTransaction redo();
46  bool isUndoAvailable() const;
47  bool isRedoAvailable() const;
48 
49 private:
51 };
52 
54 
55 #endif