tsrc/etelstub/src/etelstub.cpp
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
--- a/tsrc/etelstub/src/etelstub.cpp	Tue Aug 31 15:12:07 2010 +0300
+++ b/tsrc/etelstub/src/etelstub.cpp	Wed Sep 01 12:31:01 2010 +0100
@@ -27,7 +27,8 @@
 static RMobileCall::TMobileCallStatus iCallStatus = RMobileCall::EStatusIdle; 
 static RMobileCall::TMobileCallDirection iDirection = RMobileCall::EDirectionUnknown;
 static TBool iReqToCancel = EFalse;
-static RTelSubSessionBase::TCalledFunction iCalledFunction = RTelSubSessionBase::ENone;  
+static RTelSubSessionBase::TCalledFunction iCalledFunction = RTelSubSessionBase::ENone;
+static RMobileCall::TMobileCallRemoteIdentityStatus iRemoteIdStatus = RMobileCall::ERemoteIdentityUnknown;
 
 
 EXPORT_C TInt RTelServer::Connect( int )
@@ -67,9 +68,7 @@
     
 EXPORT_C void RCall::Close()
     {
-    iCallEvent = RMobileCall::ELocalBarred;
-    iCallStatus = RMobileCall::EStatusUnknown; 
-    iDirection = RMobileCall::EDirectionUnknown;
+
     }
     
 EXPORT_C void RLine::Close()
@@ -227,6 +226,7 @@
     callInfo.iRemoteParty.iRemoteNumber.iTelNumber.Copy( KNumber() );
     callInfo.iRemoteParty.iDirection = iDirection;
     callInfo.iEmergency = iEmergency;
+    callInfo.iRemoteParty.iRemoteIdStatus = iRemoteIdStatus;
     RMobileCall::TMobileCallInfoV3Pckg pckg( callInfo );
     
     aBuffer.Copy( pckg );
@@ -365,3 +365,24 @@
     {
     iEmergency = aVal;
     }
+void RTelHelper::SetRemoteIdStatus( RMobileCall::TMobileCallRemoteIdentityStatus aStatus )
+    {
+    iRemoteIdStatus = aStatus;
+    }
+
+EXPORT_C void
+RMobilePhone::GetIdentityServiceStatus(TRequestStatus& aReqStatus,
+	TMobilePhoneIdService /*aService*/,
+	TMobilePhoneIdServiceStatus& /*aStatus*/,
+	TMobileInfoLocation /*aLocation*/) const
+	{
+	aReqStatus = KRequestPending;
+	}
+
+EXPORT_C void
+RMobilePhone::NotifyIdentityServiceStatus(TRequestStatus& aReqStatus,
+	const TMobilePhoneIdService /*aService*/,
+	TMobilePhoneIdServiceStatus& /*aStatus*/) const
+	{
+	aReqStatus = KRequestPending;
+	}