IViewProvider.h
Go to the documentation of this file.
1 #ifndef iqt2d_IViewProvider_included
2 #define iqt2d_IViewProvider_included
3 
4 
5 // ACF includes
6 #include <istd/IPolymorphic.h>
7 
8 #include <iqt2d/iqt2d.h>
9 
10 
11 namespace iview
12 {
13  class IShapeView;
14 }
15 
16 
17 namespace iqt2d
18 {
19 
20 
24 class IViewProvider: virtual public istd::IPolymorphic
25 {
26 public:
31  virtual int GetViewId() const = 0;
32 
36  virtual iview::IShapeView* GetView() const = 0;
37 };
38 
39 
40 } // namespace iqt2d
41 
42 
43 #endif // !iqt2d_IViewProvider_included
44 
45 
Common interface for a general shape view implementations.
Definition: IShapeView.h:24
virtual int GetViewId() const =0
Get ID indentifing this view.
Base interface for all used interfaces and implementations.
Definition: IPolymorphic.h:17
virtual iview::IShapeView * GetView() const =0
Called when items should be removed from specified view.
Interface for GUI objects managing view.
Definition: IViewProvider.h:24

© 2007-2017 Witold Gantzke and Kirill Lepskiy