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