textinput/peninputfingerhwrar/src/peninputfingerhwrardatastore.cpp
branchRCL_3
changeset 19 ac7e4d1d9209
parent 12 5e18d8c489d6
--- a/textinput/peninputfingerhwrar/src/peninputfingerhwrardatastore.cpp	Thu Jul 15 19:01:13 2010 +0300
+++ b/textinput/peninputfingerhwrar/src/peninputfingerhwrardatastore.cpp	Thu Aug 19 10:15:25 2010 +0300
@@ -24,6 +24,7 @@
 #include <aknfeppeninputenums.h>
 #include <AknFepGlobalEnums.h>
 #include <AknFepInternalCRKeys.h>
+#include <peninputcommonlayoutglobalenum.h>
 
 //USER INCLUDE
 #include "peninputfingerhwrarlayout.h"
@@ -72,7 +73,6 @@
 
     delete iRepositoryFep;
     delete iCommonEngineRepository;
-//    delete iTriggerStr;   
     delete iHwrEngine;
     delete iUserDefinedResource;
     
@@ -157,6 +157,10 @@
         {
         iPermittedRanges.Append( ERangeNative );
         }
+    if ( aPermittedRanges & ERangeNativeNumber )
+        {
+        iPermittedRanges.Append( ERangeNativeNumber );
+        }
     if ( aPermittedRanges & ERangeEnglish )
         {
         iPermittedRanges.Append( ERangeEnglish );
@@ -199,15 +203,6 @@
 	}
 	
 // ----------------------------------------------------------------------------
-// get current range
-// ----------------------------------------------------------------------------
-//
-TFingerHwrRange CPeninputFingerHwrArDataStore::CurrentRange()
-	{
-	return iCurrentRange;
-	}
-
-// ----------------------------------------------------------------------------
 // Set case
 // ----------------------------------------------------------------------------
 //
@@ -705,7 +700,7 @@
 //  
 TBool CPeninputFingerHwrArDataStore::IsNumberOnlyMode()
     {
-    if(PrimaryRange() == ERangeNumber)
+    if(PrimaryRange() == ERangeNumber || PrimaryRange() == ERangeNativeNumber)
         {
         return ETrue;
         }