phoneapp/phoneuistates/inc/cphoneerrormessageshandler.h
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 21 92ab7f8d0eab
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
    82     
    82     
    83         /**
    83         /**
    84         * Show global InfoNote
    84         * Show global InfoNote
    85         * @param aResourceId resource id to be resolved
    85         * @param aResourceId resource id to be resolved
    86         */
    86         */
    87         IMPORT_C void SendGlobalInfoNoteL( TInt aResourceId );
    87         IMPORT_C void SendGlobalInfoNoteL( TInt aResourceId, 
       
    88                                            TBool aNotificationDialog = EFalse );
    88  
    89  
    89         /**
    90         /**
    90         * Show global ErrorNote
    91         * Show global ErrorNote
    91         * @param aResourceId resource id to be resolved
    92         * @param aResourceId resource id to be resolved
    92         */
    93         */
    93         IMPORT_C void SendGlobalErrorNoteL( TInt aResourceId );
    94         IMPORT_C void SendGlobalErrorNoteL( TInt aResourceId,
       
    95                                             TBool aNotificationDialog = EFalse );
    94 
    96 
    95         /**
    97         /**
    96         * Show global WarningNote
    98         * Show global WarningNote
    97         * @param aResourceId resource id to be resolved
    99         * @param aResourceId resource id to be resolved
    98         */        
   100         */        
    99         IMPORT_C void SendGlobalWarningNoteL( TInt aResourceId );
   101         IMPORT_C void SendGlobalWarningNoteL( 
       
   102                 TInt aResourceId,
       
   103                 TBool aNotificationDialog = EFalse );
   100         
   104         
   101 
   105 
   102     private:        
   106     private:        
   103         /**
   107         /**
   104         * Return SimState.
   108         * Return SimState.
   107         
   111         
   108         /**
   112         /**
   109         * Return ETrue if video call.
   113         * Return ETrue if video call.
   110         */
   114         */
   111         TBool IsVideoCall( const TInt aCallId ) const;
   115         TBool IsVideoCall( const TInt aCallId ) const;
   112  
   116         
       
   117         /**
       
   118         * Return ETrue if voice call.
       
   119         */
       
   120         TBool IsVoiceCall( const TInt aCallId ) const;
       
   121 
       
   122         /**
       
   123         * Gets cause code and resource id.
       
   124         */
       
   125         TBool GetCauseCode( TInt &aCauseCode, 
       
   126                 TInt &aResourceId, TBool &aNotification ) const; 
       
   127 				
   113     protected:
   128     protected:
   114         
   129         
   115         /**
   130         /**
   116         * Handle for sending view commands.
   131         * Handle for sending view commands.
   117         */
   132         */
   118         MPhoneViewCommandHandle* iViewCommandHandle;
   133         MPhoneViewCommandHandle* iViewCommandHandle;
   119         
   134         
   120         MPhoneStateMachine* iStateMachine;
   135         MPhoneStateMachine* iStateMachine;
       
   136         
       
   137         TBool iCauseCodeVariation;
       
   138         
       
   139         TInt iCallId;
   121               
   140               
   122     };
   141     };
   123 
   142 
   124 #endif // __CPHONEERRORMESSAGESHANDLER_H
   143 #endif // __CPHONEERRORMESSAGESHANDLER_H
   125             
   144