QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RPropertyListener.h
Go to the documentation of this file.
1 #ifndef RPROPERTYLISTENER_H
2 #define RPROPERTYLISTENER_H
3 
4 #include "RS.h"
5 #include "RPropertyTypeId.h"
6 
7 class RDocument;
8 class REntity;
9 class RDocument;
10 class RObject;
11 
12 
13 
23 public:
24  virtual ~RPropertyListener() {}
25 
37  virtual void updateFromDocument(RDocument* document, bool onlyChanges,
38  RS::EntityType entityTypeFilter = RS::EntityAll) = 0;
39 
48  virtual void updateFromObject(RObject* object,
49  RDocument* document = NULL) = 0;
50 
56  virtual void clearEditor() = 0;
57 };
58 
60 
61 #endif