phoneapp/phoneuicontrol/inc/mphonestatemachine.h
branchRCL_3
changeset 17 38529f706030
parent 15 2a26698d78ba
child 61 41a7f70b3818
equal deleted inserted replaced
15:2a26698d78ba 17:38529f706030
    28 // CLASS DECLARATION
    28 // CLASS DECLARATION
    29 class MPhoneState;
    29 class MPhoneState;
    30 class MPEPhoneModel;
    30 class MPEPhoneModel;
    31 class MPEEngineInfo;
    31 class MPEEngineInfo;
    32 class CSpdiaControl;
    32 class CSpdiaControl;
       
    33 class MPhoneSecurityMessageHandler;
       
    34 class MPhoneSecurityModeObserver;
    33 
    35 
    34 /**
    36 /**
    35 *  Describes the interface for setting and getting active state
    37 *  Describes the interface for setting and getting active state
    36 */
    38 */
    37 
    39 
    83         /**
    85         /**
    84         * Sets callId to Phone Engine Info
    86         * Sets callId to Phone Engine Info
    85         * @param aCallId
    87         * @param aCallId
    86         */    
    88         */    
    87         virtual void SetCallId( TInt aCallId ) = 0;
    89         virtual void SetCallId( TInt aCallId ) = 0;
       
    90     
       
    91         /**
       
    92          * Getter for security mode observer interface.
       
    93          * 
       
    94          * @return Pointer to security mode interface.
       
    95          */
       
    96         virtual MPhoneSecurityModeObserver* SecurityMode() = 0;
    88         
    97         
       
    98 		/**
       
    99 		 * Sets security mode observer. Doesn't transfer ownership.
       
   100 		 *
       
   101 		 * @param aObserver Pointer to observer instance.
       
   102 		 */
       
   103 		virtual void SetSecurityModeObserver( MPhoneSecurityModeObserver* aObserver ) = 0;
       
   104 		
       
   105 		/**
       
   106 		 * Set security message handler for security message observations.
       
   107 		 * 
       
   108 		 * @param aHandler Pointer to handler instance. 
       
   109 		 */
       
   110 		virtual void SetSecurityMessageHandler( MPhoneSecurityMessageHandler* aHandler ) = 0;
       
   111 		
       
   112         /**
       
   113          * Handle phone engine message.
       
   114          * 
       
   115          * @param aMessage Message
       
   116          * @param aCallId Call id
       
   117          */
       
   118         virtual void HandlePhoneEngineMessageL(const TInt aMessage, 
       
   119         	TInt aCallId ) = 0;
       
   120         
       
   121         /**
       
   122          * This function is called when there is property value change.
       
   123          * @param aCategory Category of the property
       
   124          * @param aKey Property key that is changed
       
   125          * @param aValue New property value
       
   126          */
       
   127         virtual void HandlePropertyChangedL(const TUid& aCategory,
       
   128         	const TUint aKey,
       
   129         	const TInt aValue ) = 0;
       
   130 
    89     };
   131     };
    90 
   132 
    91 #endif // MPHONESTATEMACHINE_H
   133 #endif // MPHONESTATEMACHINE_H
    92 
   134 
    93 // End of File
   135 // End of File