phoneengine/engineinfo/inc/mpeengineinfo.h
branchRCL_3
changeset 24 41a7f70b3818
parent 7 544e34b3255a
child 25 5266b1f337bd
equal deleted inserted replaced
23:40a3f856b14d 24:41a7f70b3818
    20 #ifndef MPEENGINEINFO_H
    20 #ifndef MPEENGINEINFO_H
    21 #define MPEENGINEINFO_H
    21 #define MPEENGINEINFO_H
    22 
    22 
    23 //  INCLUDES
    23 //  INCLUDES
    24 #include <pevirtualengine.h>
    24 #include <pevirtualengine.h>
       
    25 #include "mpecallsettersif.h" 
    25 
    26 
    26 // CONSTANTS
    27 // CONSTANTS
    27 // None
    28 // None
    28 
    29 
    29 // FORWARD DECLARATIONS
    30 // FORWARD DECLARATIONS
    38 *  Offers engine info interface to phone application
    39 *  Offers engine info interface to phone application
    39 *
    40 *
    40 *  @lib phoneengine.lib
    41 *  @lib phoneengine.lib
    41 *  @since Series 60 4.0
    42 *  @since Series 60 4.0
    42 */
    43 */
    43 NONSHARABLE_CLASS( MPEEngineInfo )
    44 NONSHARABLE_CLASS( MPEEngineInfo ) : public MPECallSettersIF
    44     {
    45     {
    45 
    46 
    46     public:
    47     public:
    47         /**
    48         /**
    48         * Gets active als line of the phone from TPEBasicInfo-structure
    49         * Gets active als line of the phone from TPEBasicInfo-structure
   252         * @return keypad volume value
   253         * @return keypad volume value
   253         */
   254         */
   254         virtual const TInt& KeypadVolume() const = 0;
   255         virtual const TInt& KeypadVolume() const = 0;
   255 
   256 
   256         /**
   257         /**
   257         * Gets lifetimer data
       
   258         * @return lifetime data (TDes8&)
       
   259         */
       
   260         virtual const TPELifeTimeData& LifeTimerData() const = 0;
       
   261 
       
   262         /**
       
   263         * Gets a logging indicator
   258         * Gets a logging indicator
   264         * @param aCallId, call identification number     
   259         * @param aCallId, call identification number     
   265         * @return continuous logging indicator
   260         * @return continuous logging indicator
   266         */
   261         */
   267         virtual TBool LoggingIndicator( const TInt aCallId ) const = 0;
   262         virtual TBool LoggingIndicator( const TInt aCallId ) const = 0;
   292         /**
   287         /**
   293         * Gets personal tone status
   288         * Gets personal tone status
   294         * @return personal tone status
   289         * @return personal tone status
   295         */
   290         */
   296         virtual const TBool& PersonalToneStatus() const = 0;
   291         virtual const TBool& PersonalToneStatus() const = 0;
   297 
       
   298         /**
       
   299         * Gets phone identity parameters
       
   300         * @return phone identity parameters. 
       
   301         */
       
   302         virtual const TPEPhoneIdentityParameters& PhoneIdentityParameters() const = 0;
       
   303 
   292 
   304         /**
   293         /**
   305         * Gets phone number
   294         * Gets phone number
   306         * @return Reference to TPEPhoneNumber, containing the phone number of the remote party.
   295         * @return Reference to TPEPhoneNumber, containing the phone number of the remote party.
   307         */
   296         */
   638 
   627 
   639         /**
   628         /**
   640          * Returns address choices from received call forward request 
   629          * Returns address choices from received call forward request 
   641          * or NULL if addresses are not available.
   630          * or NULL if addresses are not available.
   642          * 
   631          * 
   643 		 * @param   aCallId     Call identification number.
   632          * @param   aCallId     Call identification number.
   644          * @return  Address array.
   633          * @return  Address array.
   645          */
   634          */
   646         virtual const CDesC8Array* ForwardAddressChoices( TInt aCallId ) const = 0;
   635         virtual const CDesC8Array* ForwardAddressChoices( TInt aCallId ) const = 0;
   647         
   636         
   648         /**
   637         /**
   684         /**
   673         /**
   685         * Returns switch to operation status.
   674         * Returns switch to operation status.
   686         */
   675         */
   687         virtual TBool IsSwitchToOperationOngoing() const = 0;
   676         virtual TBool IsSwitchToOperationOngoing() const = 0;
   688         
   677         
   689 		/**
   678         /**
   690         * Checks if given state can be found.
   679         * Checks if given state can be found.
   691 		* @param aCallState state to be checked.
   680         * @param aCallState state to be checked.
   692         */
   681         */
   693         virtual TBool CheckIfCallStateExists( const TPEState& aCallState )= 0;
   682         virtual TBool CheckIfCallStateExists( const TPEState& aCallState )= 0;
   694         
   683         
   695         /**
   684         /**
   696          * Returns call origin for the call
   685          * Returns call origin for the call
   697          * @param aOrigin indicates if the call is phone, client or SAT originated
   686          * @param aOrigin indicates if the call is phone, client or SAT originated
   698          */
   687          */
   699         virtual TPECallOrigin CallOrigin( const TInt aCallId ) const = 0;
   688         virtual TPECallOrigin CallOrigin( const TInt aCallId ) const = 0;
   700         
   689         
   701         /**
   690         /**
   702          * Sets flag indicating unattended transfer dial
   691          * Returns Phonebook contact identifier.
   703          * @param aTransferDial ETrue if voip unattended transfer dial was initiated
   692          */
   704          */
   693         virtual TInt ContactId2 () const = 0;
   705         virtual void SetIsTransferDial( TBool aTransferDial ) = 0;
   694         
   706         
   695         /**
   707         /**
   696         * Sets the protocol spesific error code
   708          * Returns flag indicating unattended transfer dial
   697         * @param aError is the error code from protocol.
   709          */
   698         * @return None.
   710         virtual TBool IsTransferDial() const = 0;
   699         */
   711            
   700         virtual void SetProtocolError( TInt aError, TInt aCallId ) = 0; 
   712         /**
   701  
   713          * Sets unattended transfer call back address
   702         /**
   714          * @param aAddress Unattended transfer call back address
   703         * Returns the protocol spesific error code
   715          */
   704         * @return Error code.
   716         virtual void SetCallBackAddress( const TDesC& aAddress ) = 0;
   705         */
   717         
   706         virtual TInt ProtocolError( TInt aCallId ) = 0; 
   718         /**
   707         
   719          * Returns unattended transfer call back address
   708         /**
   720          */
   709         * Returns flag if the outgoing barring is activated.
   721         virtual const TDesC& CallBackAddress() const = 0;
   710         * @return ETrue if barring activated.
       
   711         */
       
   712         virtual TBool IsOutgoingCallBarringActivated() = 0;
       
   713         
       
   714         /**
       
   715         * Sets the flag if the outgoing barring is activated.
       
   716         * @return ETrue if barring activated.
       
   717         */
       
   718         virtual void SetOutgoingCallBarringActivated( 
       
   719                 TBool aActivated ) = 0;
   722         
   720         
   723     }; // MPEEngineInfo
   721     }; // MPEEngineInfo
   724     
   722     
   725 #endif      //MPEENGINEINFO_H
   723 #endif      //MPEENGINEINFO_H
   726     
   724