36 class MPhoneViewCommandHandle; |
36 class MPhoneViewCommandHandle; |
37 class MPhoneStateMachine; |
37 class MPhoneStateMachine; |
38 class CPhoneStateHandle; |
38 class CPhoneStateHandle; |
39 class CPEPhoneModel; |
39 class CPEPhoneModel; |
40 class CPhoneRemoteControlHandler; |
40 class CPhoneRemoteControlHandler; |
41 class CPhoneKeyEventForwarder; |
41 |
42 class CPhoneSecurityModeObserver; |
|
43 class CPhoneViewController; |
|
44 |
42 |
45 class CPhoneUIController : |
43 class CPhoneUIController : |
46 public CBase, |
44 public CBase, |
47 public MEngineMonitor, |
45 public MEngineMonitor, |
48 public MPhoneKeyEventHandler, |
46 public MPhoneKeyEventHandler, |
83 IMPORT_C TKeyResponse HandleKeyEventL( |
82 IMPORT_C TKeyResponse HandleKeyEventL( |
84 const TKeyEvent& aKeyEvent, |
83 const TKeyEvent& aKeyEvent, |
85 TEventCode aEventCode ); |
84 TEventCode aEventCode ); |
86 |
85 |
87 /** |
86 /** |
88 * From CAknAppUi, initialise a menupane (dynamic). |
|
89 * |
|
90 * @param aResourceId It is the resource id for the pane. |
|
91 * @param aMenuPane It is the menu pane corresponding to the resource. |
|
92 */ |
|
93 IMPORT_C void DynInitMenuPaneL( |
|
94 TInt aResourceId, |
|
95 CEikMenuPane* aMenuPane ); |
|
96 |
|
97 /** |
|
98 * From CAknAppUi, initialise a menubar (dynamic). |
|
99 * |
|
100 * @param aResourceId It is the resource id for the bar. |
|
101 * @param aMenuBar It is the menu bar corresponding to the resource. |
|
102 */ |
|
103 IMPORT_C void DynInitMenuBarL( |
|
104 TInt aResourceId, |
|
105 CEikMenuBar* aMenuBar ); |
|
106 |
|
107 /** |
|
108 * From CEikAppUi. For Idle indicator |
87 * From CEikAppUi. For Idle indicator |
109 */ |
88 */ |
110 IMPORT_C void HandleSystemEventL( |
89 IMPORT_C void HandleSystemEventL( |
111 const TWsEvent& aEvent ); |
90 const TWsEvent& aEvent ); |
112 |
91 |
157 * @returns boolean value was the command handled by the state |
136 * @returns boolean value was the command handled by the state |
158 * (ETrue) or not (EFalse) |
137 * (ETrue) or not (EFalse) |
159 */ |
138 */ |
160 IMPORT_C TBool ProcessCommandL( TInt aCommand ); |
139 IMPORT_C TBool ProcessCommandL( TInt aCommand ); |
161 |
140 |
|
141 /** |
|
142 * Handles keylock events |
|
143 * @param aCommand It is the code of the command to be handled. |
|
144 */ |
|
145 IMPORT_C void HandleKeyLockEnabled( TBool aKeylockEnabled ); |
|
146 |
162 private: |
147 private: |
163 |
148 |
164 /** |
149 /** |
165 * C++ default constructor. |
150 * C++ default constructor. |
166 */ |
151 */ |
167 CPhoneUIController(); |
152 CPhoneUIController(); |
168 |
153 |
169 /** |
154 /** |
170 * By default EPOC constructor is private. |
155 * By default EPOC constructor is private. |
171 */ |
156 */ |
172 void ConstructL( CPhoneViewController& aController ); |
157 void ConstructL( MPhoneViewCommandHandle* aViewCommandHandle ); |
173 |
158 |
174 /** |
159 /** |
175 * Creates correct protocol DLL depending of the variation. |
160 * Creates correct protocol DLL depending of the variation. |
176 */ |
161 */ |
177 void CreateProtocolDllL( CPhoneViewController& aController ); |
162 void CreateProtocolDllL( MPhoneViewCommandHandle* aViewCommandHandle ); |
178 /** |
163 /** |
179 * CallBack for Phone Number Editor |
164 * CallBack for Phone Number Editor |
180 */ |
165 */ |
181 static TInt HandlePhoneNumberEditorCallBack( TAny* aAny ); |
166 static TInt HandlePhoneNumberEditorCallBack( TAny* aAny ); |
182 |
167 |
183 /** |
168 /** |
184 * Handles the CallBack for Phone Number Editor |
169 * Handles the CallBack for Phone Number Editor |
185 */ |
170 */ |
186 void DoHandlePhoneNumberEditorCallBack(); |
171 void DoHandlePhoneNumberEditorCallBack(); |
187 |
172 |
188 /** |
|
189 * Handles the construction of Remote Controller Handler. |
|
190 */ |
|
191 void ConstructRemoteControlHandlerL(); |
|
192 |
|
193 private: // Data |
173 private: // Data |
194 |
174 |
195 /** |
175 /** |
196 * CPEPhoneModel |
176 * CPEPhoneModel |
197 */ |
177 */ |