QCAD
Open Source 2D CAD
RLayerListener.h
Go to the documentation of this file.
1 
20 #ifndef RLAYERLISTENER_H
21 #define RLAYERLISTENER_H
22 
23 #include "core_global.h"
24 
25 class RDocumentInterface;
26 
27 
28 
38 public:
39  virtual ~RLayerListener() {}
40 
45  virtual void updateLayers(RDocumentInterface* documentInterface) = 0;
46 
50  virtual void clearLayers() = 0;
51 };
52 
54 
55 #endif
#define QCADCORE_EXPORT
Definition: core_global.h:10
Abstract base class for classes that are interested in being notified whenever a layer has been added...
Definition: RLayerListener.h:37
Q_DECLARE_METATYPE(RMath *)
virtual ~RLayerListener()
Definition: RLayerListener.h:39
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:82