textinput/peninputfingerhwrar/inc/peninputfingerhwrardatastore.h
branchRCL_3
changeset 12 5e18d8c489d6
parent 7 6defe5d1bd39
child 19 ac7e4d1d9209
equal deleted inserted replaced
11:c8fb4cf7b3ae 12:5e18d8c489d6
    21 //SYSTEM INCLUDES
    21 //SYSTEM INCLUDES
    22 #include <e32base.h>
    22 #include <e32base.h>
    23 #include <e32def.h>
    23 #include <e32def.h>
    24 #include <w32std.h>
    24 #include <w32std.h>
    25 #include <eikon.hrh>
    25 #include <eikon.hrh>
    26 #include <aknutils.h>
    26 #include <AknUtils.h>
    27 
    27 
    28 //FEP INCLUDES
    28 //FEP INCLUDES
    29 #include <ptiengine.h>
    29 #include <PtiEngine.h>
    30 #include <peninputpluginutils.h>
    30 #include <peninputpluginutils.h>
    31 
    31 
    32 
    32 
    33 //USER INCLUDES
    33 //USER INCLUDES
    34 #include "peninputfingerhwrarstoreconstants.h"
    34 #include "peninputfingerhwrarstoreconstants.h"
   309      * @since Symbian TB9.2
   309      * @since Symbian TB9.2
   310      * @return ETrue If highlight the default cell to candidate list
   310      * @return ETrue If highlight the default cell to candidate list
   311      */   
   311      */   
   312     TBool Highlight();
   312     TBool Highlight();
   313     
   313     
   314     /**
       
   315      * Remove duplicate candidate from predictive candidate list
       
   316      *
       
   317      * @since Symbian TB9.2
       
   318      * @param aSrc The punctuation candidate list
       
   319      * @param aTgt The predicative candidate list
       
   320      * @param aSrcStartIdx 
       
   321      * @param aTgtStartIdx 
       
   322      * @return last overlap index
       
   323      */   
       
   324     TInt RemoveDuplicateCand(const RPointerArray<HBufC>& aSrc,
       
   325                              RPointerArray<HBufC>& aTgt,
       
   326                              TInt aSrcStartIdx,
       
   327                              TInt aTgtStartIdx);
       
   328     
       
   329     
       
   330 	/**
   314 	/**
   331      * Get top guide line from hwr engine
   315      * Get top guide line from hwr engine
   332      *
   316      *
   333      * @since Symbian TB9.2
   317      * @since Symbian TB9.2
   334      */
   318      */
   371      * @since s60 v5.2
   355      * @since s60 v5.2
   372      * @param aChar The passed unicode
   356      * @param aChar The passed unicode
   373      * @return ETrue if it is, EFalse otherwise
   357      * @return ETrue if it is, EFalse otherwise
   374      */
   358      */
   375     TBool IsArabicNumber(TUint16 aChar);
   359     TBool IsArabicNumber(TUint16 aChar);
       
   360     
       
   361     /**
       
   362      * Check if it is in number only mode.
       
   363      *
       
   364      * @since s60 v5.2
       
   365      * @param None
       
   366      * @return ETrue if it is, EFalse otherwise
       
   367      */
       
   368     TBool IsNumberOnlyMode();
       
   369     
       
   370     /**
       
   371      * check if it is native number mode.
       
   372      * 
       
   373      * @since s60 v5.2
       
   374      * @param None
       
   375      * @return ETrue if it is, EFalse otherwise
       
   376      */
       
   377     TBool IsNativeNumMode();
   376 private:  
   378 private:  
   377 
   379 
   378     /**
   380     /**
   379      * C++ constructor
   381      * C++ constructor
   380      *
   382      *
   487      * The repository (Own);
   489      * The repository (Own);
   488      */
   490      */
   489     CRepository* iRepositoryFep;
   491     CRepository* iRepositoryFep;
   490 
   492 
   491     /**
   493     /**
       
   494      * repository object.
       
   495      */
       
   496     CRepository* iCommonEngineRepository;    
       
   497     
       
   498     /**
   492      * The engine (Own);
   499      * The engine (Own);
   493      */
   500      */
   494     CPeninputFingerHwrArEngine* iHwrEngine;
   501     CPeninputFingerHwrArEngine* iHwrEngine;
   495     
   502     
   496     /**
   503     /**
   551     
   558     
   552     /**
   559     /**
   553      * First candidate type.
   560      * First candidate type.
   554      */
   561      */
   555     TFirstCandidateType iFirstCandidateType;
   562     TFirstCandidateType iFirstCandidateType;
       
   563     
       
   564     /**
       
   565      * the number mode flag
       
   566      */
       
   567     TBool iIsNativeNumMode;
   556  };
   568  };
   557 
   569 
   558 
   570 
   559 #endif	//C_PENINPUTFINGERHWRARDATASTORE_H
   571 #endif	//C_PENINPUTFINGERHWRARDATASTORE_H