IShapeObserver.h
Go to the documentation of this file.
1 #ifndef iview_IShapeObserver_included
2 #define iview_IShapeObserver_included
3 
4 
5 #include <istd/IPolymorphic.h>
6 
7 
8 namespace iview
9 {
10 
11 
12 class IShape;
13 
14 
19 class IShapeObserver: virtual public istd::IPolymorphic
20 {
21 public:
27  virtual void OnChangeShape(IShape* shapePtr) = 0;
28 
34  virtual bool DisconnectShape(IShape* shapePtr) = 0;
35 };
36 
37 
38 } // namespace iview
39 
40 
41 #endif // !iview_IShapeObserver_included
42 
43 
virtual bool DisconnectShape(IShape *shapePtr)=0
Disconnect shape object from view.
Base interface for all used interfaces and implementations.
Definition: IPolymorphic.h:17
Common interface for all display console shapes.
Definition: IShape.h:27
Common interface for all objects informed about shapes state changes.
virtual void OnChangeShape(IShape *shapePtr)=0
Invalidate a shape.

© 2007-2017 Witold Gantzke and Kirill Lepskiy