predictivesearch/PcsServer/src/CPcsServer.cpp
branchRCL_3
changeset 15 34879f5cfc63
parent 6 e8e3147d53eb
child 18 d4f567ce2e7c
--- a/predictivesearch/PcsServer/src/CPcsServer.cpp	Wed Jun 09 09:26:27 2010 +0300
+++ b/predictivesearch/PcsServer/src/CPcsServer.cpp	Mon Jun 21 15:24:27 2010 +0300
@@ -70,11 +70,11 @@
 	iPcs = CPcsPluginInterface::NewL();
     
 	// Check if the phone is chinese feature id installed
-	TBool isChineseVariant = IsChineseFeatureInitilizedL();
+	iIsChineseVariant = IsChineseFeatureInitilizedL();
     // Create the plugin for the required algorithm
     // Matches the ECOM Plugin's display name definition in rss file
     // Check for the chinese feature id flag.
-	if(isChineseVariant) 
+	if(iIsChineseVariant) 
 	    {
 	    // Chinese variant phones. Use Algorithm 2
 	    PRINT ( _L("Enter CPcsServer::ConstructL() - Chinese Variant Phone Algorithm Instantiated") );
@@ -151,3 +151,12 @@
     
     return chineseFeatureInitialized;
 }
+
+// ----------------------------------------------------------------------------
+// CPcsServer::IsChineseVariant() const
+// Returns ETrue if there is Chinese variant feature in phone
+// ---------------------------------------------------------------------------- 
+TBool CPcsServer::IsChineseVariant() const
+    {
+    return iIsChineseVariant;
+    }