phoneengine/engineinfo/inc/cpeengineinfoimpl.h
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 22 6bb1b21d2484
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
    74     TPEContactFileName iRingingToneName1;   // Current ringingtone name                 
    74     TPEContactFileName iRingingToneName1;   // Current ringingtone name                 
    75     TPEContactFileName iRingingToneName2;
    75     TPEContactFileName iRingingToneName2;
    76     TPEContactFileName iVideoCallRingingTone; // Video call ringingtone name                                    
    76     TPEContactFileName iVideoCallRingingTone; // Video call ringingtone name                                    
    77     TPEDtmfString iDtmfString;              // Dtmf string.                 
    77     TPEDtmfString iDtmfString;              // Dtmf string.                 
    78     TPEErrorInfo iErrorInfo;                // possible error code                  
    78     TPEErrorInfo iErrorInfo;                // possible error code                  
    79     TPELifeTimeData iLifeTimeData;                  
       
    80     TPEPhoneIdentityParameters iPhoneIdentityParameters; // the phone identity parameters                   
       
    81     TPEProfileName iProfileName;            // the name of the profile                  
    79     TPEProfileName iProfileName;            // the name of the profile                  
    82     TProfileRingingType iRingingType;       // Includes current ringing type                    
    80     TProfileRingingType iRingingType;       // Includes current ringing type                    
    83     TPEVoiceMailBoxNumberInfo iVMBXNumbers; // Voice mail box numbers
    81     TPEVoiceMailBoxNumberInfo iVMBXNumbers; // Voice mail box numbers
    84     TPEPhoneAudioRouteParameters iPhoneAudioRouteParameters; // the phone audio route parameters
    82     TPEPhoneAudioRouteParameters iPhoneAudioRouteParameters; // the phone audio route parameters
    85     TCCPTone iInbandTone;                   // Inband tone needed to play in a call state transition or error
    83     TCCPTone iInbandTone;                   // Inband tone needed to play in a call state transition or error
    88     TPESimState iSimState;
    86     TPESimState iSimState;
    89     TPESSCommandInfo iSSCommandInfo;        // Contains information of the Suplementary Services command.
    87     TPESSCommandInfo iSSCommandInfo;        // Contains information of the Suplementary Services command.
    90     TBool iSecureSpecified;                 // Secure specified status
    88     TBool iSecureSpecified;                 // Secure specified status
    91     TName iDataPortName;                    // the name of data port currently on-loan
    89     TName iDataPortName;                    // the name of data port currently on-loan
    92     TBool iSwitchToOngoing;                 // Switch to operation status
    90     TBool iSwitchToOngoing;                 // Switch to operation status
       
    91     TBool iOutgoingBarringActivated;        // Outgoing barring activated 
    93     };
    92     };
    94 
    93 
    95 NONSHARABLE_STRUCT( TPEConferenceCallInfo ) // Contains conference call related variables 
    94 NONSHARABLE_STRUCT( TPEConferenceCallInfo ) // Contains conference call related variables 
    96     {
    95     {
    97     TPEState iConferenceCallState;
    96     TPEState iConferenceCallState;
   277         * @return the inband tone to be played
   276         * @return the inband tone to be played
   278         */
   277         */
   279         const TCCPTone& InbandTone() const;
   278         const TCCPTone& InbandTone() const;
   280 
   279 
   281         /**
   280         /**
   282         * Gets lifetimer data
       
   283         * @return lifetime data (TDes8&)
       
   284         */
       
   285         const TPELifeTimeData& LifeTimerData() const;
       
   286 
       
   287         /**
       
   288         * Gets network registration status
   281         * Gets network registration status
   289         * @return TNWNetworkRegistrationStatus Network registration status
   282         * @return TNWNetworkRegistrationStatus Network registration status
   290         */
   283         */
   291         const TNWNetworkRegistrationStatus& NetworkRegistrationStatus() const;
   284         const TNWNetworkRegistrationStatus& NetworkRegistrationStatus() const;
   292 
       
   293         /**
       
   294         * Gets phone identity parameters from TPEBasicInfo-structure
       
   295         * @param aPhoneIdentityParameters is the phone identity parameters. 
       
   296         */
       
   297         const TPEPhoneIdentityParameters& PhoneIdentityParameters() const;
       
   298 
   285 
   299         /**
   286         /**
   300         * Gets phone number
   287         * Gets phone number
   301         * @return Reference to TPEPhoneNumber, containing the phone number of the remote party.
   288         * @return Reference to TPEPhoneNumber, containing the phone number of the remote party.
   302         */
   289         */
   619          /**
   606          /**
   620          * Checks if given state can be found.
   607          * Checks if given state can be found.
   621          * @param aCallState state to be checked.
   608          * @param aCallState state to be checked.
   622          */
   609          */
   623           TBool CheckIfCallStateExists( const TPEState& aCallState );
   610           TBool CheckIfCallStateExists( const TPEState& aCallState );
       
   611           
       
   612           /**
       
   613           * Sets the protocol spesific error code
       
   614           * @param aError is the error code from protocol.
       
   615           * @return None.
       
   616           */
       
   617            void SetProtocolError( TInt aError ); 
   624 
   618 
   625     // Functions from MPEDataStore (reading values)
   619     // Functions from MPEDataStore (reading values)
   626     public:
   620     public:
   627         /**
   621         /**
   628         * Gets group ids which are active to play ring tone
   622         * Gets group ids which are active to play ring tone
  1165         * @param aKeypadVolume is Keypad volume of the phone.
  1159         * @param aKeypadVolume is Keypad volume of the phone.
  1166         */
  1160         */
  1167         void SetKeypadVolume( const TInt aKeypadVolume );
  1161         void SetKeypadVolume( const TInt aKeypadVolume );
  1168 
  1162 
  1169         /**
  1163         /**
  1170         * Sets lifetimer data of the phone to TPEBasicInfo-structure
       
  1171         * @param aLifeTimerData lifetime data (TDesc8&).
       
  1172         */
       
  1173         void SetLifeTimerData( TCCPLifeTimeDataPckg& aPckg );
       
  1174 
       
  1175         /**
       
  1176         * Sets a logging indicator to TPECallInfo-tructure
  1164         * Sets a logging indicator to TPECallInfo-tructure
  1177         * @param aLoggingIndicator, Continuous logging indicator.
  1165         * @param aLoggingIndicator, Continuous logging indicator.
  1178         * @param aCallId, the call identification number.
  1166         * @param aCallId, the call identification number.
  1179         */
  1167         */
  1180         void SetLoggingIndicator( const TBool aLoggingIndicator, const TInt aCallId );
  1168         void SetLoggingIndicator( const TBool aLoggingIndicator, const TInt aCallId );
  1207         /**
  1195         /**
  1208         * Sets personal tone status value to TPEBasicInfo-structure.
  1196         * Sets personal tone status value to TPEBasicInfo-structure.
  1209         * @param aPersonalTone is personal tone status (EFalse/ETrue).
  1197         * @param aPersonalTone is personal tone status (EFalse/ETrue).
  1210         */
  1198         */
  1211         void SetPersonalToneStatus( const TInt& aPersonalToneStatus );
  1199         void SetPersonalToneStatus( const TInt& aPersonalToneStatus );
  1212 
       
  1213         /**
       
  1214         * Sets phone number to TPECallCommandInfo-structure
       
  1215         * @param aPhoneIdentityParameters is the phone identity parameters
       
  1216         */
       
  1217         void SetPhoneIdentityParameters( 
       
  1218             const TPEPhoneIdentityParameters& aPhoneIdentityParameters );
       
  1219         
  1200         
  1220         /**
  1201         /**
  1221         * Sets phone number parsing result
  1202         * Sets phone number parsing result
  1222         * @param aServiceCode indicates if phone number a service code
  1203         * @param aServiceCode indicates if phone number a service code
  1223         */
  1204         */
  1256         * Set remote end connected phone number
  1237         * Set remote end connected phone number
  1257         * @param aColpNumber phone number
  1238         * @param aColpNumber phone number
  1258         * @param aCallId, is the call identification number.
  1239         * @param aCallId, is the call identification number.
  1259         */
  1240         */
  1260         void SetRemoteColpNumber(
  1241         void SetRemoteColpNumber(
  1261             TPEPhoneNumber& aColpNumber, 
  1242             const TPEPhoneNumber& aColpNumber, 
  1262             const TInt aCallId );
  1243             const TInt aCallId );
  1263 
  1244 
  1264         /**
  1245         /**
  1265         * Set contact name
  1246         * Set contact name
  1266         * Depending on user selected language may be in order:
  1247         * Depending on user selected language may be in order:
  1538 
  1519 
  1539         /**
  1520         /**
  1540          * Returns Phonebook contact identifier.
  1521          * Returns Phonebook contact identifier.
  1541          */
  1522          */
  1542         TInt ContactId2() const;
  1523         TInt ContactId2() const;
       
  1524         
       
  1525         /**
       
  1526         * Sets the protocol spesific error code
       
  1527         * @param aError is the error code from protocol.
       
  1528         * @return None.
       
  1529         */
       
  1530         void SetProtocolError( TInt aError, TInt aCallId ); 
       
  1531  
       
  1532         /**
       
  1533         * Returns the protocol spesific error code
       
  1534         * @return Error code.
       
  1535         */
       
  1536         TInt ProtocolError( TInt aCallId ); 
       
  1537         
       
  1538         /**
       
  1539         * Returns flag if the outgoing barring is activated.
       
  1540         * @return ETrue if barring activated.
       
  1541         */
       
  1542         TBool IsOutgoingCallBarringActivated();
       
  1543         
       
  1544         /**
       
  1545         * Sets the flag if the outgoing barring is activated.
       
  1546         * @return ETrue if barring activated.
       
  1547         */
       
  1548         void SetOutgoingCallBarringActivated( 
       
  1549                 TBool aActivated );
  1543           
  1550           
  1544     private:
  1551     private:
  1545           /**
  1552           /**
  1546         * C++ default constructor.
  1553         * C++ default constructor.
  1547         */
  1554         */