equal
deleted
inserted
replaced
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 class CPhoneKeyEventForwarder; |
|
42 class CPhoneSecurityModeObserver; |
|
43 class CPhoneViewController; |
42 |
44 |
43 class CPhoneUIController : |
45 class CPhoneUIController : |
44 public CBase, |
46 public CBase, |
45 public MEngineMonitor, |
47 public MEngineMonitor, |
46 public MPhoneKeyEventHandler, |
48 public MPhoneKeyEventHandler, |
50 public: |
52 public: |
51 |
53 |
52 /** |
54 /** |
53 * Two-phased constructor. |
55 * Two-phased constructor. |
54 */ |
56 */ |
55 IMPORT_C static CPhoneUIController* NewL( |
57 IMPORT_C static CPhoneUIController* NewL( CPhoneViewController& aViewCommandHandle ); |
56 MPhoneViewCommandHandle* aViewCommandHandle ); |
|
57 |
58 |
58 /** |
59 /** |
59 * Destructor. |
60 * Destructor. |
60 */ |
61 */ |
61 IMPORT_C virtual ~CPhoneUIController(); |
62 IMPORT_C virtual ~CPhoneUIController(); |
156 * @returns boolean value was the command handled by the state |
157 * @returns boolean value was the command handled by the state |
157 * (ETrue) or not (EFalse) |
158 * (ETrue) or not (EFalse) |
158 */ |
159 */ |
159 IMPORT_C TBool ProcessCommandL( TInt aCommand ); |
160 IMPORT_C TBool ProcessCommandL( TInt aCommand ); |
160 |
161 |
161 |
|
162 private: |
162 private: |
163 |
163 |
164 /** |
164 /** |
165 * C++ default constructor. |
165 * C++ default constructor. |
166 */ |
166 */ |
167 CPhoneUIController(); |
167 CPhoneUIController(); |
168 |
168 |
169 /** |
169 /** |
170 * By default EPOC constructor is private. |
170 * By default EPOC constructor is private. |
171 */ |
171 */ |
172 void ConstructL( MPhoneViewCommandHandle* aViewCommandHandle ); |
172 void ConstructL( CPhoneViewController& aController ); |
173 |
173 |
174 /** |
174 /** |
175 * Creates correct protocol DLL depending of the variation. |
175 * Creates correct protocol DLL depending of the variation. |
176 */ |
176 */ |
177 void CreateProtocolDllL( MPhoneViewCommandHandle* aViewCommandHandle ); |
177 void CreateProtocolDllL( CPhoneViewController& aController ); |
178 /** |
178 /** |
179 * CallBack for Phone Number Editor |
179 * CallBack for Phone Number Editor |
180 */ |
180 */ |
181 static TInt HandlePhoneNumberEditorCallBack( TAny* aAny ); |
181 static TInt HandlePhoneNumberEditorCallBack( TAny* aAny ); |
182 |
182 |
229 |
229 |
230 /** |
230 /** |
231 * iKeyEventForwarder |
231 * iKeyEventForwarder |
232 */ |
232 */ |
233 CPhoneKeyEventForwarder* iKeyEventForwarder; |
233 CPhoneKeyEventForwarder* iKeyEventForwarder; |
234 |
234 |
|
235 /** |
|
236 * Security mode observer. |
|
237 * Own. |
|
238 */ |
|
239 CPhoneSecurityModeObserver* iSecurityModeObserver; |
|
240 |
235 }; |
241 }; |
236 |
242 |
237 #endif // CPHONEUICONTROLLER_H |
243 #endif // CPHONEUICONTROLLER_H |
238 |
244 |
239 // End of File |
245 // End of File |