equal
deleted
inserted
replaced
60 // |
60 // |
61 EXPORT_C void CPhoneStateStartup::ConstructL() |
61 EXPORT_C void CPhoneStateStartup::ConstructL() |
62 { |
62 { |
63 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateStartup::ConstructL() "); |
63 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateStartup::ConstructL() "); |
64 CPhoneState::BaseConstructL(); |
64 CPhoneState::BaseConstructL(); |
65 |
|
66 // Set send key activation off. |
|
67 TPhoneCmdParamBoolean boolean; |
|
68 boolean.SetBoolean( EFalse ); |
|
69 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetSendKeyDialerActivationFlag, |
|
70 &boolean ); |
|
71 |
65 |
72 // CAPTURE KEY EVENTS PERMANENTLY |
66 // CAPTURE KEY EVENTS PERMANENTLY |
73 |
67 |
74 // Capture the up and down events for the No key |
68 // Capture the up and down events for the No key |
75 /*TPhoneCmdParamKeyCapture noKeyCaptureParam; |
69 /*TPhoneCmdParamKeyCapture noKeyCaptureParam; |
157 } |
151 } |
158 // Go to idle state |
152 // Go to idle state |
159 SetDefaultFlagsL(); |
153 SetDefaultFlagsL(); |
160 iCbaManager->UpdateCbaL( EPhoneEmptyCBA ); |
154 iCbaManager->UpdateCbaL( EPhoneEmptyCBA ); |
161 |
155 |
162 iViewCommandHandle->ExecuteCommand( EPhoneViewPrepareIcons ); |
|
163 |
|
164 iStateMachine->ChangeState( EPhoneStateIdle ); |
156 iStateMachine->ChangeState( EPhoneStateIdle ); |
165 } |
157 } |
166 } |
158 } |
167 |
159 |
168 // ----------------------------------------------------------- |
160 // ----------------------------------------------------------- |
192 // |
184 // |
193 EXPORT_C void CPhoneStateStartup::HandleKeyEventL( |
185 EXPORT_C void CPhoneStateStartup::HandleKeyEventL( |
194 const TKeyEvent& /*aKeyEvent*/, TEventCode /*aEventCode*/ ) |
186 const TKeyEvent& /*aKeyEvent*/, TEventCode /*aEventCode*/ ) |
195 { |
187 { |
196 // Empty implementation |
188 // Empty implementation |
197 } |
|
198 |
|
199 // CPhoneStateStartup::HandleCreateNumberEntryL |
|
200 // ----------------------------------------------------------- |
|
201 // |
|
202 EXPORT_C void CPhoneStateStartup::HandleCreateNumberEntryL( |
|
203 const TKeyEvent& /* aKeyEvent */ , |
|
204 TEventCode /* aEventCode */ ) |
|
205 { |
|
206 // Empty implementation |
|
207 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateStartup::HandleCreateNumberEntryL() "); |
|
208 } |
189 } |
209 |
190 |
210 // ----------------------------------------------------------- |
191 // ----------------------------------------------------------- |
211 // CPhoneStateStartup::HandleDtmfKeyToneL |
192 // CPhoneStateStartup::HandleDtmfKeyToneL |
212 // ----------------------------------------------------------- |
193 // ----------------------------------------------------------- |
246 } |
227 } |
247 // Go to idle state |
228 // Go to idle state |
248 SetDefaultFlagsL(); |
229 SetDefaultFlagsL(); |
249 iCbaManager->UpdateCbaL( EPhoneEmptyCBA ); |
230 iCbaManager->UpdateCbaL( EPhoneEmptyCBA ); |
250 |
231 |
251 iViewCommandHandle->ExecuteCommand( EPhoneViewPrepareIcons ); |
|
252 iViewCommandHandle->ExecuteCommand( EPhoneViewLoadPlugins ); |
|
253 |
|
254 iStateMachine->ChangeState( EPhoneStateIdle ); |
232 iStateMachine->ChangeState( EPhoneStateIdle ); |
255 } |
233 } |
256 } |
234 } |
257 |
235 |
258 // --------------------------------------------------------- |
236 // --------------------------------------------------------- |