QCAD
Open Source 2D CAD
RNewDocumentListener.h
Go to the documentation of this file.
1 
20 #ifndef RNEWDOCUMENTLISTENER_H
21 #define RNEWDOCUMENTLISTENER_H
22 
23 #include "core_global.h"
24 
25 class RDocument;
26 class RTransaction;
27 
28 
29 
38 public:
39  virtual ~RNewDocumentListener() {}
40 
44  virtual void updateNewDocumentListener(RDocument* document, RTransaction* transaction) = 0;
45 };
46 
48 
49 #endif
Abstract base class for classes that are interested in being notified when a new document is created...
Definition: RNewDocumentListener.h:37
#define QCADCORE_EXPORT
Definition: core_global.h:10
virtual ~RNewDocumentListener()
Definition: RNewDocumentListener.h:39
Transaction implementation.
Definition: RTransaction.h:74
A graphics document contains and owns entities, layers, user coordinate systems, variables, block definitions, etc.
Definition: RDocument.h:67
Q_DECLARE_METATYPE(RMath *)