equal
deleted
inserted
replaced
17 #ifndef CNTABSTRACTVIEW_H_ |
17 #ifndef CNTABSTRACTVIEW_H_ |
18 #define CNTABSTRACTVIEW_H_ |
18 #define CNTABSTRACTVIEW_H_ |
19 |
19 |
20 #include <cntabstractviewmanager.h> |
20 #include <cntabstractviewmanager.h> |
21 #include <cntviewparams.h> |
21 #include <cntviewparams.h> |
|
22 #include <cntabstractengine.h> |
22 |
23 |
23 class HbView; |
24 class HbView; |
24 |
25 |
25 class CntAbstractView |
26 class CntAbstractView |
26 { |
27 { |
31 public: |
32 public: |
32 /** |
33 /** |
33 * View is activated after its added to main window and is |
34 * View is activated after its added to main window and is |
34 * ready to be drawn. |
35 * ready to be drawn. |
35 */ |
36 */ |
36 virtual void activate( CntAbstractViewManager* aMgr, const CntViewParameters aArgs ) = 0; |
37 virtual void activate( const CntViewParameters aArgs ) = 0; |
37 |
38 |
38 /** |
39 /** |
39 * View is deactivated just before its removed from |
40 * View is deactivated just before its removed from |
40 * main window. |
41 * main window. |
41 */ |
42 */ |
55 |
56 |
56 /*! |
57 /*! |
57 * return the view id |
58 * return the view id |
58 */ |
59 */ |
59 virtual int viewId() const = 0; |
60 virtual int viewId() const = 0; |
|
61 |
|
62 /*! |
|
63 * set engine. This must be called right after C'tor. |
|
64 */ |
|
65 virtual void setEngine( CntAbstractEngine& aEngine ) = 0; |
60 }; |
66 }; |
61 #endif /* CNTABSTRACTVIEW_H_ */ |
67 #endif /* CNTABSTRACTVIEW_H_ */ |