phoneengine/engineinfo/inc/mpeengineinfo.h
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    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 // <-- QT PHONE START -->
       
    26 #include "mpecallsettersif.h" 
       
    27 // <-- QT PHONE END --> 
    25 
    28 
    26 // CONSTANTS
    29 // CONSTANTS
    27 // None
    30 // None
    28 
    31 
    29 // FORWARD DECLARATIONS
    32 // FORWARD DECLARATIONS
    38 *  Offers engine info interface to phone application
    41 *  Offers engine info interface to phone application
    39 *
    42 *
    40 *  @lib phoneengine.lib
    43 *  @lib phoneengine.lib
    41 *  @since Series 60 4.0
    44 *  @since Series 60 4.0
    42 */
    45 */
    43 NONSHARABLE_CLASS( MPEEngineInfo )
    46 // <-- QT PHONE START --> 
       
    47 NONSHARABLE_CLASS( MPEEngineInfo ) : public MPECallSettersIF
       
    48 // <-- QT PHONE END --> 
    44     {
    49     {
    45 
    50 
    46     public:
    51     public:
    47         /**
    52         /**
    48         * Gets active als line of the phone from TPEBasicInfo-structure
    53         * Gets active als line of the phone from TPEBasicInfo-structure
   638 
   643 
   639         /**
   644         /**
   640          * Returns address choices from received call forward request 
   645          * Returns address choices from received call forward request 
   641          * or NULL if addresses are not available.
   646          * or NULL if addresses are not available.
   642          * 
   647          * 
   643 		 * @param   aCallId     Call identification number.
   648          * @param   aCallId     Call identification number.
   644          * @return  Address array.
   649          * @return  Address array.
   645          */
   650          */
   646         virtual const CDesC8Array* ForwardAddressChoices( TInt aCallId ) const = 0;
   651         virtual const CDesC8Array* ForwardAddressChoices( TInt aCallId ) const = 0;
   647         
   652         
   648         /**
   653         /**
   684         /**
   689         /**
   685         * Returns switch to operation status.
   690         * Returns switch to operation status.
   686         */
   691         */
   687         virtual TBool IsSwitchToOperationOngoing() const = 0;
   692         virtual TBool IsSwitchToOperationOngoing() const = 0;
   688         
   693         
   689 		/**
   694         /**
   690         * Checks if given state can be found.
   695         * Checks if given state can be found.
   691 		* @param aCallState state to be checked.
   696         * @param aCallState state to be checked.
   692         */
   697         */
   693         virtual TBool CheckIfCallStateExists( const TPEState& aCallState )= 0;
   698         virtual TBool CheckIfCallStateExists( const TPEState& aCallState )= 0;
   694         
   699         
   695         /**
   700         /**
   696          * Returns call origin for the call
   701          * Returns call origin for the call
   697          * @param aOrigin indicates if the call is phone, client or SAT originated
   702          * @param aOrigin indicates if the call is phone, client or SAT originated
   698          */
   703          */
   699         virtual TPECallOrigin CallOrigin( const TInt aCallId ) const = 0;
   704         virtual TPECallOrigin CallOrigin( const TInt aCallId ) const = 0;
   700         
   705         
       
   706 // <-- QT PHONE START --> 
       
   707         /**
       
   708          * Returns Phonebook contact identifier.
       
   709          */
       
   710         virtual TInt ContactId2 () const = 0;
       
   711 // <-- QT PHONE END -->  
   701     }; // MPEEngineInfo
   712     }; // MPEEngineInfo
   702     
   713     
   703 #endif      //MPEENGINEINFO_H
   714 #endif      //MPEENGINEINFO_H
   704     
   715     
   705 // End of File
   716 // End of File