9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 #ifndef HNCONTROLLERINTERFACE_H |
19 #ifndef HNCONTROLLERINTERFACE_H |
20 #define HNCONTROLLERINTERFACE_H |
20 #define HNCONTROLLERINTERFACE_H |
21 |
21 |
22 #include "hnsuiteobserver.h" |
22 #include "hnsuiteobserver.h" |
23 |
23 |
24 class CLiwGenericParamList; |
24 class CLiwGenericParamList; |
25 |
25 |
26 /** |
26 /** |
27 * @ingroup group_hnengine |
27 * @ingroup group_hnengine |
28 * User interface refresh type |
28 * User interface refresh type |
29 */ |
29 */ |
30 enum THnUiRefreshType |
30 enum THnUiRefreshType |
31 { |
31 { |
32 ERefreshSuite, |
32 ERefreshSuite, |
33 ERefreshToolbar, |
33 ERefreshToolbar, |
34 EStartEditMode, |
34 EStartEditMode, |
35 EStopEditMode, |
35 EStopEditMode, |
36 EZoomLarge, |
|
37 EZoomSmall, |
|
38 EZoomNormal, |
|
39 EForegroundGain, |
36 EForegroundGain, |
40 EBackgroundGain, |
37 EBackgroundGain, |
41 ELightOn, |
38 ELightOn, |
42 ELightOff, |
39 ELightOff, |
43 ERemoveLiwObjects |
40 ERemoveLiwObjects |
61 * |
58 * |
62 * @since S60 v3.2 |
59 * @since S60 v3.2 |
63 * @param aRefreshType Defines reason for refresh. |
60 * @param aRefreshType Defines reason for refresh. |
64 */ |
61 */ |
65 virtual void NotifyUiRefreshL( const THnUiRefreshType aRefreshType ) = 0; |
62 virtual void NotifyUiRefreshL( const THnUiRefreshType aRefreshType ) = 0; |
66 |
63 |
67 /** |
64 /** |
68 * Trigger appropriate action on suite model. |
65 * Trigger appropriate action on suite model. |
69 * |
66 * |
70 * @param aCustomSuiteEvent Event that is associated |
67 * @param aCustomSuiteEvent Event that is associated |
71 * with the lifecycle of a suite |
68 * with the lifecycle of a suite |
72 * @param aModel Suite model on that custom event should be performed. |
69 * @param aModel Suite model on that custom event should be performed. |
73 */ |
70 */ |
74 virtual void HandleSuiteEventL ( THnCustomSuiteEvent aCustomSuiteEvent, |
71 virtual void HandleSuiteEventL ( THnCustomSuiteEvent aCustomSuiteEvent, |
75 CHnSuiteModel *aModel ) = 0; |
72 CHnSuiteModel *aModel ) = 0; |
76 |
73 |
77 /** |
74 /** |
78 * Whenever an action for extension manager occurs it invokes |
75 * Whenever an action for extension manager occurs it invokes |
79 * this method to execute one, passing the information needed |
76 * this method to execute one, passing the information needed |
80 * by extension manager about the action as a parameters. |
77 * by extension manager about the action as a parameters. |
81 * |
78 * |
82 * @param aUid UID of the ECom plugin's. |
79 * @param aUid UID of the ECom plugin's. |
83 * @param aCommand Command which has to be executed on the plugin. |
80 * @param aCommand Command which has to be executed on the plugin. |
84 * Request to the Service. |
81 * Request to the Service. |
85 * @param aEventParamList List of the event parameters needed to |
82 * @param aEventParamList List of the event parameters needed to |
86 * execute action. Extention Manager is its owner. |
83 * execute action. Extention Manager is its owner. |