imstutils/imconversationview/imcvuiengine/src/cimcvengine.cpp
branchRCL_3
changeset 4 f5911524345e
parent 0 5e5d6b214f4f
--- a/imstutils/imconversationview/imcvuiengine/src/cimcvengine.cpp	Tue Feb 02 10:12:18 2010 +0200
+++ b/imstutils/imconversationview/imcvuiengine/src/cimcvengine.cpp	Fri Feb 19 22:41:11 2010 +0200
@@ -547,7 +547,23 @@
     
     CleanupStack::PopAndDestroy( 2 );    
     }
-    
+// ---------------------------------------------------------------------------
+// CIMCVEngine::IsVoipServiceL()
+// ---------------------------------------------------------------------------
+//
+EXPORT_C TBool CIMCVEngine::IsVoipServiceL()
+    {
+    TBool isvoipservice = EFalse;
+    CSPSettings* settings = CSPSettings::NewLC();
+    CSPProperty* property = CSPProperty::NewLC();
+    settings->FindPropertyL(iServiceId, ESubPropertyVoIPEnabled, *property);
+    if (property)
+        {
+        isvoipservice = ETrue; 
+        }
+    CleanupStack::PopAndDestroy(2); //property,settings 
+    return isvoipservice;
+    }