QCAD
Open Source 2D CAD
RExportListener.h
Go to the documentation of this file.
1 
20 #ifndef REXPORTLISTENER_H
21 #define REXPORTLISTENER_H
22 
23 #include <QMetaType>
24 
25 #include "core_global.h"
26 
27 class RDocumentInterface;
28 class RExporter;
29 
38 public:
39  virtual ~RExportListener() {}
40 
44  virtual void preExportEvent(RDocumentInterface* documentInterface) = 0;
45 
49  virtual void postExportEvent(RDocumentInterface* documentInterface) = 0;
50 
54  virtual void endOfExportEvent(RExporter* exporter) = 0;
55 };
56 
58 
59 #endif
#define QCADCORE_EXPORT
Definition: core_global.h:10
Abstract base class for classes that are interested in file export events.
Definition: RExportListener.h:37
virtual ~RExportListener()
Definition: RExportListener.h:39
Q_DECLARE_METATYPE(RMath *)
Abstract base class for exporters.
Definition: RExporter.h:71
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:84