diff -r a6539d1e8e43 -r 34879f5cfc63 predictivesearch/PcsServer/src/CPcsServer.cpp --- 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; + }