phoneapp/phoneuistates/inc/cphonegeneralgsmmessageshandler.h
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 51 f39ed5e045e0
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description: 
    14 * Description: 
    15 * 		Class that does processing for Phone Engine messages that are common
    15 *       Class that does processing for Phone Engine messages that are common
    16 *		for all GSM states. Most of the GSM states are intressed of these 
    16 *       for all GSM states. Most of the GSM states are intressed of these 
    17 *		messages but due to the class architecture they don't have any single
    17 *       messages but due to the class architecture they don't have any single
    18 *		state class to be put into. This class exists to minimize duplicate
    18 *       state class to be put into. This class exists to minimize duplicate
    19 *		code so that not every GSM class need to implement these same handlings
    19 *       code so that not every GSM class need to implement these same handlings
    20 *		for the same messages.
    20 *       for the same messages.
    21 *
    21 *
    22 */
    22 */
    23 
    23 
    24 
    24 
    25 #ifndef CPHONEGENERALGSMMESSAGESHANDLER_H
    25 #ifndef CPHONEGENERALGSMMESSAGESHANDLER_H
    73             const TInt aMessage, 
    73             const TInt aMessage, 
    74             TInt aCallId );  
    74             TInt aCallId );  
    75          
    75          
    76 
    76 
    77     private:
    77     private:
    78 		
    78         
    79         /**
    79         /**
    80         * By default EPOC constructor is private.
    80         * By default EPOC constructor is private.
    81         */
    81         */
    82         CPhoneGeneralGsmMessagesHandler( 
    82         CPhoneGeneralGsmMessagesHandler( 
    83             MPhoneStateMachine& aStateMachine, 
    83             MPhoneStateMachine& aStateMachine, 
    84             MPhoneViewCommandHandle& aViewCommandHandle,
    84             MPhoneViewCommandHandle& aViewCommandHandle,
    85             MPhoneState& aActiveState );
    85             MPhoneState& aActiveState );
    86 
    86 
    87 
    87 
    88 	private:
    88     private:
    89 	
    89     
    90         /**
    90         /**
    91         * Show global InfoNote
    91         * Show global InfoNote
    92         * @param aResourceId resource id to be resolved
    92         * @param aResourceId resource id to be resolved
    93         */
    93         */
    94 		void SendGlobalInfoNoteL( TInt aResourceId );
    94         void SendGlobalInfoNoteL( TInt aResourceId );
    95 	    
    95         
    96         /**
    96         /**
    97         * Shows divert indication or sets internal divert flag
    97         * Shows divert indication or sets internal divert flag
    98         * depending in which order we receive Incoming and 
    98         * depending in which order we receive Incoming and 
    99         * CallForwarded messages.
    99         * CallForwarded messages.
   100         */
   100         */
   112         void SendGlobalErrorNoteL( TInt aResourceId );
   112         void SendGlobalErrorNoteL( TInt aResourceId );
   113 
   113 
   114 
   114 
   115     private:
   115     private:
   116 
   116 
   117 		/**
   117         /**
   118 		* Currently active state.
   118         * Currently active state.
   119 		*/    
   119         */    
   120 		MPhoneStateMachine& iStateMachine;
   120         MPhoneStateMachine& iStateMachine;
   121 		
   121         
   122 		/**
   122         /**
   123 		* Handle for sending view commands.
   123         * Handle for sending view commands.
   124 		*/
   124         */
   125 		MPhoneViewCommandHandle& iViewCommandHandle;
   125         MPhoneViewCommandHandle& iViewCommandHandle;
   126 		
   126         
   127 		/**
   127         /**
   128 		* Currently active state object.
   128         * Currently active state object.
   129 		*/
   129         */
   130 		MPhoneState& iActiveState; 
   130         MPhoneState& iActiveState; 
   131            
   131            
   132     };
   132     };
   133 
   133 
   134 #endif // CPHONEGENERALGSMMESSAGESHANDLER_H
   134 #endif // CPHONEGENERALGSMMESSAGESHANDLER_H
   135             
   135