QCAD
Open Source 2D CAD
RImportListener.h
Go to the documentation of this file.
1 
20 #ifndef RIMPORTLISTENER_H
21 #define RIMPORTLISTENER_H
22 
23 #include <QMetaType>
24 
25 #include "core_global.h"
26 
27 class RDocumentInterface;
28 
29 
30 
39 public:
40  virtual ~RImportListener() {}
41 
45  virtual void preImportEvent(RDocumentInterface* documentInterface) = 0;
46 
50  virtual void postImportEvent(RDocumentInterface* documentInterface) = 0;
51 };
52 
54 
55 #endif
#define QCADCORE_EXPORT
Definition: core_global.h:10
Q_DECLARE_METATYPE(RMath *)
Abstract base class for classes that are interested in file import events.
Definition: RImportListener.h:38
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:84
virtual ~RImportListener()
Definition: RImportListener.h:40