QCAD
Open Source 2D CAD
RSnapListener.h
Go to the documentation of this file.
1 
20 #ifndef RSNAPLISTENER_H
21 #define RSNAPLISTENER_H
22 
23 #include "core_global.h"
24 
25 #include "RSnap.h"
26 
27 class RDocumentInterface;
28 class REntity;
29 
30 
31 
40 public:
41  virtual ~RSnapListener() {}
42 
46  virtual void updateSnap(RDocumentInterface* di) = 0;
47 };
48 
50 
51 #endif
Abstract base class for classes that are interested in the current snap mode.
Definition: RSnapListener.h:39
#define QCADCORE_EXPORT
Definition: core_global.h:10
Base class for all entity classes.
Definition: REntity.h:64
Q_DECLARE_METATYPE(RMath *)
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:82
virtual ~RSnapListener()
Definition: RSnapListener.h:41