phoneengine/phonemodel/src/cpecalldurationdisplaysettingmonitor.cpp
changeset 22 6bb1b21d2484
parent 21 92ab7f8d0eab
child 51 f39ed5e045e0
--- a/phoneengine/phonemodel/src/cpecalldurationdisplaysettingmonitor.cpp	Fri Mar 19 09:28:42 2010 +0200
+++ b/phoneengine/phonemodel/src/cpecalldurationdisplaysettingmonitor.cpp	Fri Apr 16 14:58:25 2010 +0300
@@ -75,10 +75,20 @@
 //
 void CPECallDurationDisplaySettingMonitor::UpdateL()
     {
-    // Resubmit notification request
     // Retrieve current value for call duration display
-    User::LeaveIfError( Get( iDisplayCallDuration ) );
+    iError = Get( iDisplayCallDuration );
+    User::LeaveIfError( iError );
     TEFLOGSTRING2( KTAINT, "CPECallDurationDisplaySettingMonitor::UpdateL %d", iDisplayCallDuration );
     }
+
+// -----------------------------------------------------------------------------
+// CPECallDurationDisplaySettingMonitor::GetValue
+// -----------------------------------------------------------------------------
+//
+TInt CPECallDurationDisplaySettingMonitor::GetValue(TInt& aValue)
+    {
+    aValue = (TInt)iDisplayCallDuration;
+    return iError;
+    }
     
 // End of file