imstutils/imconversationview/imcvuiengine/src/cimcvengine.cpp
branchCompilerCompatibility
changeset 12 bec8e016bb22
parent 4 f5911524345e
--- a/imstutils/imconversationview/imcvuiengine/src/cimcvengine.cpp	Fri Mar 19 16:56:51 2010 -0700
+++ b/imstutils/imconversationview/imcvuiengine/src/cimcvengine.cpp	Mon Mar 29 12:25:49 2010 +0100
@@ -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;
+    }