diff -r b8d67d6176f5 -r 3c221667e687 phoneapp/phoneuicontrol/inc/cphonestateidle.h --- a/phoneapp/phoneuicontrol/inc/cphonestateidle.h Wed Jun 09 09:41:11 2010 +0300 +++ b/phoneapp/phoneuicontrol/inc/cphonestateidle.h Mon Jun 21 15:39:45 2010 +0300 @@ -46,7 +46,6 @@ EDialMethodSendCommand = 2, /** Dial is initiated by one key dialing. */ EDialMethodOneKeyDialing = 3 - }; /** @@ -80,7 +79,7 @@ */ IMPORT_C virtual void HandlePhoneEngineMessageL( const TInt aMessage, - TInt aCallId ); + TInt aCallId ); IMPORT_C virtual TBool HandleCommandL( TInt aCommand ); @@ -99,7 +98,15 @@ /** * Indicates when the Phone app has lost focus. */ - IMPORT_C virtual void HandlePhoneFocusLostEventL(); + IMPORT_C virtual void HandlePhoneFocusLostEventL(); + + /** + * HandleError + * Implements error handling framework + * @param aErrorInfo: the error info + */ + IMPORT_C virtual void HandleErrorL( + const TPEErrorInfo& aErrorInfo ); protected: @@ -211,8 +218,20 @@ */ IMPORT_C virtual void HandleSendCommandL(); + protected: + + /** + * Sets iBubbleInitialized value. + */ + void SetBubbleInitialized( TBool aValue ); + + /** + * Gets iBubbleInitialized value. + */ + TBool IsBubbleInitialized(); + private: // New functions - + /** * A message handling function for EPEMessageIncoming * @param aCallId: the call id of the call @@ -292,15 +311,38 @@ /** * Returns options menu id when number entry is visible. - * If easydialing is in focus, id is asked from it. + * If easydialing is in focus, id is asked from it. * @return Menu resource id. */ TInt GetNumberAcqMenuIdL(); + /** + * Launches initializing call bubble. + */ + void DisplayInitializingCallL( TInt aCallId ); + + /** + * Updates existing call bubble. + */ + TBool UpdateCallBubbleL( TInt aCallId ); + + /** + * Handles initialized call error. + */ + void HandleInitializingCallErrorL( TInt aCallId ); + + /** + * Changes state to aState and resets iBubbleInitialized + * value to false. + */ + void ChangeTo( TInt aState ); + private: - // indicates that incomming call is arrived. - TBool iIncommingCall; - + // indicates that incomming call is arrived. + TBool iIncommingCall; + + // Indicates call bubble is already initiliazed. + TBool iBubbleInitialized; }; #endif // CPHONESTATEIDLE