--- a/phoneengine/engineinfo/src/cpeengineinfoimpl.cpp Fri Jun 04 10:19:18 2010 +0100
+++ b/phoneengine/engineinfo/src/cpeengineinfoimpl.cpp Wed Jun 23 18:12:20 2010 +0300
@@ -57,10 +57,6 @@
iBasicInfo.iErrorInfo.iCallId = KPECallIdNotUsed;
iBasicInfo.iProfileId = ECCPErrorNotFound;
iBasicInfo.iProfileName = KNullDesC;
- iBasicInfo.iPhoneIdentityParameters.iManufacturer = KNullDesC;
- iBasicInfo.iPhoneIdentityParameters.iModel = KNullDesC;
- iBasicInfo.iPhoneIdentityParameters.iRevision = KNullDesC;
- iBasicInfo.iPhoneIdentityParameters.iSerialNumber = KNullDesC;
iBasicInfo.iLastCallDuration = KPENumberInitValue;
iBasicInfo.iVMBXNumbers.iVMBXL1 = KNullDesC;
iBasicInfo.iVMBXNumbers.iVMBXL2 = KNullDesC;
@@ -68,8 +64,6 @@
iBasicInfo.iTextToSpeech = EFalse;
iBasicInfo.iPhoneNumberIsServiceCode = EFalse;
iBasicInfo.iTwoDigitSupportStatus = EFalse;
- iBasicInfo.iLifeTimeData.iHours = 0;
- iBasicInfo.iLifeTimeData.iMinutes = 0;
iBasicInfo.iNetworkRegistrationStatus = ENWStatusRegistrationUnknown;
@@ -568,17 +562,6 @@
}
// -----------------------------------------------------------------------------
-// CPEEngineInfoImpl::LifeTimerData
-// Gets lifetimerdata from the TPEBasicInfo structure.
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-const TPELifeTimeData& CPEEngineInfoImpl::LifeTimerData() const
- {
- return iBasicInfo.iLifeTimeData;
- }
-
-// -----------------------------------------------------------------------------
// CPEEngineInfoImpl::LoggingIndicator
// Get logging indicator from TPECallInfo.
// (other items were commented in a header).
@@ -629,16 +612,6 @@
}
// -----------------------------------------------------------------------------
-// CPEEngineInfoImpl::PhoneIdentityParameters
-// Gets the phone identity parameters from the TPEBasicInfo structure
-// -----------------------------------------------------------------------------
-//
-const TPEPhoneIdentityParameters& CPEEngineInfoImpl::PhoneIdentityParameters() const
- {
- return iBasicInfo.iPhoneIdentityParameters;
- }
-
-// -----------------------------------------------------------------------------
// CPEEngineInfoImpl::PhoneNumber
// Return the phone number from the TPECallCommandInfo structure.
// -----------------------------------------------------------------------------
@@ -1340,18 +1313,6 @@
}
// -----------------------------------------------------------------------------
-// CPEEngineInfoImpl::SetLifeTimerData
-// Sets lifetimer data of the phone to TPELifeTimeData-structure
-// -----------------------------------------------------------------------------
-//
-void CPEEngineInfoImpl::SetLifeTimerData(
- TCCPLifeTimeDataPckg& aPckg )
- {
- iBasicInfo.iLifeTimeData.iHours = aPckg().iHours;
- iBasicInfo.iLifeTimeData.iMinutes = aPckg().iMinutes;
- }
-
-// -----------------------------------------------------------------------------
// CPEEngineInfoImpl::SetNetworkRegistrationStatus
// Sets network registration status to TPEBasicInfo-structure
// -----------------------------------------------------------------------------
@@ -1379,17 +1340,6 @@
}
// -----------------------------------------------------------------------------
-// CPEEngineInfoImpl::SetPhoneIdentityParameters
-// Sets phone number to TPECallCommandInfo-structure
-// -----------------------------------------------------------------------------
-//
-void CPEEngineInfoImpl::SetPhoneIdentityParameters(
- const TPEPhoneIdentityParameters& aPhoneIdentityParameters )
- {
- iBasicInfo.iPhoneIdentityParameters = aPhoneIdentityParameters;
- }
-
-// -----------------------------------------------------------------------------
// CPEEngineInfoImpl::SetPhoneNumberIsServiceCode
// Sets phone number parsing result
// -----------------------------------------------------------------------------
@@ -2550,7 +2500,7 @@
// -----------------------------------------------------------------------------
//
void CPEEngineInfoImpl::SetRemoteColpNumber(
- TPEPhoneNumber& aColpNumber,
+ const TPEPhoneNumber& aColpNumber,
const TInt aCallId )
{
return ( *iRemoteInfo )[ aCallId ]->SetColpNumber( aColpNumber );
@@ -2641,4 +2591,14 @@
return iContactId;
}
+// -----------------------------------------------------------------------------
+// CPEEngineInfoImpl::SetProtocolError
+// Sets the protocol spesific error code to TPEErrorInfo
+// -----------------------------------------------------------------------------
+//
+void CPEEngineInfoImpl::SetProtocolError( TInt aError )
+ {
+ iBasicInfo.iErrorInfo.iProtocolSpesificErrorCode = aError;
+ }
+
// End of File