textinput/peninputfingerhwr/src/peninputfingerhwrengine.cpp
branchRCL_3
changeset 12 4eb1ae11334f
parent 3 f5a1e66df979
equal deleted inserted replaced
10:6defe5d1bd39 12:4eb1ae11334f
    18 //FEP INCLUDES
    18 //FEP INCLUDES
    19 #include <AknFepGlobalEnums.h>
    19 #include <AknFepGlobalEnums.h>
    20 #include <aknfeppeninputenums.h>
    20 #include <aknfeppeninputenums.h>
    21 #include <PtiHwrRecognizer.h>
    21 #include <PtiHwrRecognizer.h>
    22 #include <e32property.h>
    22 #include <e32property.h>
    23 #include "PtiDefs.h"
    23 #include <AknFepInternalPSKeys.h>
       
    24 #include <PtiDefs.h>
    24 
    25 
    25 //USER INCLUDES
    26 //USER INCLUDES
    26 #include "peninputfingerhwrengine.h"
    27 #include "peninputfingerhwrengine.h"
    27 #include "peninputfingerhwrdatastore.h"
    28 #include "peninputfingerhwrdatastore.h"
    28 
    29 
   669 // ---------------------------------------------------------------------------
   670 // ---------------------------------------------------------------------------
   670 //
   671 //
   671 void CAknFepHwrEngine::ResetKeyboardType()
   672 void CAknFepHwrEngine::ResetKeyboardType()
   672     {
   673     {
   673 #ifdef RD_INTELLIGENT_TEXT_INPUT    
   674 #ifdef RD_INTELLIGENT_TEXT_INPUT    
   674     RProperty::Set(KCRUidAvkon, KAknKeyBoardLayout, iKeyboardType);
   675     RProperty::Set( KPSUidAknFep, KAknFepVirtualKeyboardType, iKeyboardType );
   675 #endif
   676 #endif
   676     }        
   677     }        
   677      
   678      
   678 // ---------------------------------------------------------------------------
   679 // ---------------------------------------------------------------------------
   679 // Set Keyboard type to Qwerty
   680 // Set Keyboard type to Qwerty
   680 // ---------------------------------------------------------------------------
   681 // ---------------------------------------------------------------------------
   681 //
   682 //
   682 void CAknFepHwrEngine::SetKeyboardToQwerty()
   683 void CAknFepHwrEngine::SetKeyboardToQwerty()
   683     {
   684     {
   684 #ifdef RD_INTELLIGENT_TEXT_INPUT   
   685 #ifdef RD_INTELLIGENT_TEXT_INPUT   
   685     RProperty::Set(KCRUidAvkon, KAknKeyBoardLayout, EPtiKeyboardQwerty4x12);
   686     RProperty::Set( KPSUidAknFep, KAknFepVirtualKeyboardType, EPtiKeyboardQwerty4x12 );
   686 #endif
   687 #endif
   687     }        
   688     }        
   688 
   689 
   689 // ---------------------------------------------------------------------------
   690 // ---------------------------------------------------------------------------
   690 // Get Keyboard type
   691 // Get Keyboard type
   691 // ---------------------------------------------------------------------------
   692 // ---------------------------------------------------------------------------
   692 //
   693 //
   693 void CAknFepHwrEngine::GetKeyboardType()
   694 void CAknFepHwrEngine::GetKeyboardType()
   694     {
   695     {
   695 #ifdef RD_INTELLIGENT_TEXT_INPUT
   696 #ifdef RD_INTELLIGENT_TEXT_INPUT
   696     RProperty::Get(KCRUidAvkon, KAknKeyBoardLayout, iKeyboardType);
   697     RProperty::Get( KPSUidAknFep, KAknFepVirtualKeyboardType, iKeyboardType );
   697 #endif    
   698 #endif    
   698     }        
   699     }        
   699 
   700 
   700      
   701      
   701        
   702