equal
deleted
inserted
replaced
99 * Indicates when the Phone app has lost focus. |
99 * Indicates when the Phone app has lost focus. |
100 */ |
100 */ |
101 IMPORT_C virtual void HandlePhoneFocusLostEventL(); |
101 IMPORT_C virtual void HandlePhoneFocusLostEventL(); |
102 |
102 |
103 /** |
103 /** |
|
104 * This function is called from displaycallsetup and |
|
105 * the purpose is to do state specific things for callsetup. |
|
106 */ |
|
107 IMPORT_C virtual void DoStateSpecificCallSetUpDefinitionsL(); |
|
108 |
|
109 /** |
104 * HandleError |
110 * HandleError |
105 * Implements error handling framework |
111 * Implements error handling framework |
106 * @param aErrorInfo: the error info |
112 * @param aErrorInfo: the error info |
107 */ |
113 */ |
108 IMPORT_C virtual void HandleErrorL( |
114 IMPORT_C virtual void HandleErrorL( |
109 const TPEErrorInfo& aErrorInfo ); |
115 const TPEErrorInfo& aErrorInfo ); |
110 |
|
111 protected: |
116 protected: |
112 |
117 |
113 /** |
118 /** |
114 * Handle state-specific behaviour when number entry is cleared |
119 * Handle state-specific behaviour when number entry is cleared |
115 */ |
120 */ |
124 * @param aCallid call id |
129 * @param aCallid call id |
125 */ |
130 */ |
126 IMPORT_C void DisplayIncomingCallL( TInt aCallId ); |
131 IMPORT_C void DisplayIncomingCallL( TInt aCallId ); |
127 |
132 |
128 /** |
133 /** |
129 * Display Call Setup |
|
130 * @param aCallid call id |
|
131 */ |
|
132 IMPORT_C void DisplayCallSetupL( TInt aCallId ); |
|
133 |
|
134 /** |
|
135 * By default EPOC constructor is private. |
134 * By default EPOC constructor is private. |
136 */ |
135 */ |
137 IMPORT_C CPhoneStateIdle( |
136 IMPORT_C CPhoneStateIdle( |
138 MPhoneStateMachine* aStateMachine, |
137 MPhoneStateMachine* aStateMachine, |
139 MPhoneViewCommandHandle* aViewCommandHandle, |
138 MPhoneViewCommandHandle* aViewCommandHandle, |
169 * Handles situation when hash key has been kept down long |
168 * Handles situation when hash key has been kept down long |
170 * (long keypress) and the hash character is the only character |
169 * (long keypress) and the hash character is the only character |
171 * in number entry. |
170 * in number entry. |
172 */ |
171 */ |
173 IMPORT_C virtual void OnlyHashInNumberEntryL(); |
172 IMPORT_C virtual void OnlyHashInNumberEntryL(); |
174 |
|
175 /* |
|
176 * Checks if it's ok to use aType effect in this state. |
|
177 * |
|
178 * @param aType effect to be checked |
|
179 * @return true if aType effect can be used |
|
180 */ |
|
181 IMPORT_C virtual TBool CanTransEffectTypeBeUsed( TStateTransEffectType aType ); |
|
182 |
173 |
183 /** |
174 /** |
184 * A message handling function for EPEMessageDialling |
175 * A message handling function for EPEMessageDialling |
185 * @param aCallId: the call id of the call |
176 * @param aCallId: the call id of the call |
186 */ |
177 */ |
219 IMPORT_C virtual void HandleSendCommandL(); |
210 IMPORT_C virtual void HandleSendCommandL(); |
220 |
211 |
221 protected: |
212 protected: |
222 |
213 |
223 /** |
214 /** |
224 * Sets iBubbleInitialized value. |
215 * Sets iCallInitialized value. |
225 */ |
216 */ |
226 void SetBubbleInitialized( TBool aValue ); |
217 void SetCallInitialized( TBool aValue ); |
227 |
218 |
228 /** |
219 /** |
229 * Gets iBubbleInitialized value. |
220 * Gets iCallInitialized value. |
230 */ |
221 */ |
231 TBool IsBubbleInitialized(); |
222 TBool IsCallInitialized(); |
232 |
223 |
233 /** |
224 /** |
234 * Removes NE and sets idle to background, for more detailed |
225 * Removes NE and sets idle to background, for more detailed |
235 * information check comments from implementation. |
226 * information check comments from implementation. |
236 */ |
227 */ |
321 * @return Menu resource id. |
312 * @return Menu resource id. |
322 */ |
313 */ |
323 TInt GetNumberAcqMenuIdL(); |
314 TInt GetNumberAcqMenuIdL(); |
324 |
315 |
325 /** |
316 /** |
326 * Sets UI elements to correct state and launches |
|
327 * call header to screen by calling DisplayCallSetupL. |
|
328 */ |
|
329 void ShowCallHandlingViewL( TInt aCallId ); |
|
330 |
|
331 /** |
|
332 * Launches initializing call bubble. |
|
333 */ |
|
334 void DisplayInitializingCallL( TInt aCallId ); |
|
335 |
|
336 /** |
|
337 * Updates existing call bubble. |
|
338 */ |
|
339 TBool UpdateCallBubbleL( TInt aCallId ); |
|
340 |
|
341 /** |
|
342 * Handles initialized call error. |
|
343 */ |
|
344 void HandleInitializingCallErrorL( TInt aCallId ); |
|
345 |
|
346 /** |
|
347 * Changes state to aState and resets iBubbleInitialized |
317 * Changes state to aState and resets iBubbleInitialized |
348 * value to false. |
318 * value to false. |
349 */ |
319 */ |
350 void ChangeTo( TInt aState ); |
320 void ChangeTo( TInt aState ); |
351 |
321 |
352 private: |
322 private: |
353 |
323 |
354 // Indicates call bubble is already initiliazed. |
324 // True if call initiliazed. |
355 TBool iBubbleInitialized; |
325 TBool iCallInitialized; |
356 }; |
326 }; |
357 |
327 |
358 #endif // CPHONESTATEIDLE |
328 #endif // CPHONESTATEIDLE |
359 |
329 |
360 // End of File |
330 // End of File |