phoneengine/engineinfo/inc/cpeengineinfoimpl.h
changeset 45 6b911d05207e
parent 37 ba76fc04e6c2
child 46 bc5a64e5bc3c
equal deleted inserted replaced
37:ba76fc04e6c2 45:6b911d05207e
    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
   277         * @return the inband tone to be played
   275         * @return the inband tone to be played
   278         */
   276         */
   279         const TCCPTone& InbandTone() const;
   277         const TCCPTone& InbandTone() const;
   280 
   278 
   281         /**
   279         /**
   282         * Gets lifetimer data
       
   283         * @return lifetime data (TDes8&)
       
   284         */
       
   285         const TPELifeTimeData& LifeTimerData() const;
       
   286 
       
   287         /**
       
   288         * Gets network registration status
   280         * Gets network registration status
   289         * @return TNWNetworkRegistrationStatus Network registration status
   281         * @return TNWNetworkRegistrationStatus Network registration status
   290         */
   282         */
   291         const TNWNetworkRegistrationStatus& NetworkRegistrationStatus() const;
   283         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 
   284 
   299         /**
   285         /**
   300         * Gets phone number
   286         * Gets phone number
   301         * @return Reference to TPEPhoneNumber, containing the phone number of the remote party.
   287         * @return Reference to TPEPhoneNumber, containing the phone number of the remote party.
   302         */
   288         */
   619          /**
   605          /**
   620          * Checks if given state can be found.
   606          * Checks if given state can be found.
   621          * @param aCallState state to be checked.
   607          * @param aCallState state to be checked.
   622          */
   608          */
   623           TBool CheckIfCallStateExists( const TPEState& aCallState );
   609           TBool CheckIfCallStateExists( const TPEState& aCallState );
       
   610           
       
   611           /**
       
   612           * Sets the protocol spesific error code
       
   613           * @param aError is the error code from protocol.
       
   614           * @return None.
       
   615           */
       
   616            void SetProtocolError( TInt aError ); 
   624 
   617 
   625     // Functions from MPEDataStore (reading values)
   618     // Functions from MPEDataStore (reading values)
   626     public:
   619     public:
   627         /**
   620         /**
   628         * Gets group ids which are active to play ring tone
   621         * Gets group ids which are active to play ring tone
  1165         * @param aKeypadVolume is Keypad volume of the phone.
  1158         * @param aKeypadVolume is Keypad volume of the phone.
  1166         */
  1159         */
  1167         void SetKeypadVolume( const TInt aKeypadVolume );
  1160         void SetKeypadVolume( const TInt aKeypadVolume );
  1168 
  1161 
  1169         /**
  1162         /**
  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
  1163         * Sets a logging indicator to TPECallInfo-tructure
  1177         * @param aLoggingIndicator, Continuous logging indicator.
  1164         * @param aLoggingIndicator, Continuous logging indicator.
  1178         * @param aCallId, the call identification number.
  1165         * @param aCallId, the call identification number.
  1179         */
  1166         */
  1180         void SetLoggingIndicator( const TBool aLoggingIndicator, const TInt aCallId );
  1167         void SetLoggingIndicator( const TBool aLoggingIndicator, const TInt aCallId );
  1207         /**
  1194         /**
  1208         * Sets personal tone status value to TPEBasicInfo-structure.
  1195         * Sets personal tone status value to TPEBasicInfo-structure.
  1209         * @param aPersonalTone is personal tone status (EFalse/ETrue).
  1196         * @param aPersonalTone is personal tone status (EFalse/ETrue).
  1210         */
  1197         */
  1211         void SetPersonalToneStatus( const TInt& aPersonalToneStatus );
  1198         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         
  1199         
  1220         /**
  1200         /**
  1221         * Sets phone number parsing result
  1201         * Sets phone number parsing result
  1222         * @param aServiceCode indicates if phone number a service code
  1202         * @param aServiceCode indicates if phone number a service code
  1223         */
  1203         */
  1256         * Set remote end connected phone number
  1236         * Set remote end connected phone number
  1257         * @param aColpNumber phone number
  1237         * @param aColpNumber phone number
  1258         * @param aCallId, is the call identification number.
  1238         * @param aCallId, is the call identification number.
  1259         */
  1239         */
  1260         void SetRemoteColpNumber(
  1240         void SetRemoteColpNumber(
  1261             TPEPhoneNumber& aColpNumber, 
  1241             const TPEPhoneNumber& aColpNumber, 
  1262             const TInt aCallId );
  1242             const TInt aCallId );
  1263 
  1243 
  1264         /**
  1244         /**
  1265         * Set contact name
  1245         * Set contact name
  1266         * Depending on user selected language may be in order:
  1246         * Depending on user selected language may be in order: