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