fep/aknfep/src/AknFepUiManagerBase.cpp
branchRCL_3
changeset 22 bd83ceabce89
parent 21 ecbabf52600f
--- a/fep/aknfep/src/AknFepUiManagerBase.cpp	Wed Sep 01 12:23:33 2010 +0100
+++ b/fep/aknfep/src/AknFepUiManagerBase.cpp	Tue Sep 14 21:59:06 2010 +0300
@@ -1023,4 +1023,18 @@
     return iFepMan->ZhuyinAnalyser();
     }
 
+TBool CAknFepUIManagerBase::MapAgainst(TInt aKey, TInt aMode, TInt16 aAgainst, TInt aCase) const
+    {
+    if(iPtiEngine)
+        {
+        iPtiEngine->SetInputMode((TPtiEngineInputMode)aMode);
+        TBuf<KMaxName> data;
+        iPtiEngine->MappingDataForKey((TPtiKey)aKey, data, (TPtiTextCase)aCase);
+        if(data.Length() > 0)
+            {
+            return (data[0] == aAgainst);                
+            }
+        }
+    return EFalse;
+    }
 // End of file