phoneengine/engineinfo/src/cpecallinfo.cpp
changeset 46 bc5a64e5bc3c
parent 0 5f000ab63145
child 74 d1c62c765e48
--- a/phoneengine/engineinfo/src/cpecallinfo.cpp	Wed Jun 23 18:12:20 2010 +0300
+++ b/phoneengine/engineinfo/src/cpecallinfo.cpp	Tue Jul 06 14:15:47 2010 +0300
@@ -106,6 +106,7 @@
     iDtmfPostFix = KNullDesC;
     iForwardAddressChoices = NULL;
     iCallIndex = KPEInvalidCallIndex;
+    iProtocolError = KErrNotFound;
     }
 
 // ---------------------------------------------------------------------------
@@ -650,5 +651,22 @@
     return iCallOrigin;
     }
     
-   
+// ---------------------------------------------------------------------------
+// Sets the protocol error of a call.
+// ---------------------------------------------------------------------------
+//
+void CPECallInfo::SetProtocolError( TInt aError )
+    {
+    iProtocolError = aError;
+    }
+
+// ---------------------------------------------------------------------------
+// Returns protocol error of a call.
+// ---------------------------------------------------------------------------
+//
+TInt CPECallInfo::ProtocolError() const
+    {
+    return iProtocolError;
+    }
+
 // End of File