QCAD
Open Source 2D CAD
RTransactionListener.h
Go to the documentation of this file.
1 
20 #ifndef RTRANSACTIONLISTENER_H
21 #define RTRANSACTIONLISTENER_H
22 
23 #include "core_global.h"
24 
25 class RDocument;
26 class REntity;
27 class RTransaction;
28 
29 
30 
39 public:
40  virtual ~RTransactionListener() {}
41 
45  virtual void updateTransactionListener(RDocument* document, RTransaction* transaction=NULL) = 0;
46 };
47 
49 
50 #endif
Abstract base class for classes that are interested in the current transaction stack.
Definition: RTransactionListener.h:38
#define QCADCORE_EXPORT
Definition: core_global.h:10
Transaction implementation.
Definition: RTransaction.h:70
virtual ~RTransactionListener()
Definition: RTransactionListener.h:40
Base class for all entity classes.
Definition: REntity.h:64
A graphics document contains and owns entities, layers, user coordinate systems, variables, block definitions, etc.
Definition: RDocument.h:63
Q_DECLARE_METATYPE(RMath *)