phoneuis/easydialing/inc/dialingextensioninterface.h
branchRCL_3
changeset 81 c26cc2a7c548
parent 62 5266b1f337bd
equal deleted inserted replaced
73:e30d4a1b8bad 81:c26cc2a7c548
    86  */
    86  */
    87 
    87 
    88 class CDialingExtensionInterface : public CCoeControl
    88 class CDialingExtensionInterface : public CCoeControl
    89     {
    89     {
    90 public:
    90 public:
    91 
       
    92     
       
    93     /**
       
    94      * Enumeration for keyboard modes. Keyboardmode affect on how search string is matched 
       
    95      * with contacts. 
       
    96      */
       
    97     typedef enum 
       
    98         {
       
    99     
       
   100         /*
       
   101          * ENormalKeyboard is used when there is no QWERTY keyboard, or non-hybrid mode
       
   102          * QWERTY keyboard.
       
   103          */
       
   104         EDefaultKeyboard = 0,
       
   105         
       
   106         /*
       
   107          * EHybridQwerty is used with hybrid mode QWERTY keyboard. Hybrid mode means
       
   108          * that keys where a letter and number share a common key, short press to that key
       
   109          * produces the number, not the letter.
       
   110          */
       
   111         EHybridQwerty
       
   112         
       
   113         } TKeyboardMode;
       
   114     
    91     
   115     /**
    92     /**
   116      * Creates an instance of plugin.
    93      * Creates an instance of plugin.
   117      */
    94      */
   118     static CDialingExtensionInterface* NewL();
    95     static CDialingExtensionInterface* NewL();
   203     /**
   180     /**
   204      * Tells if extension is currently enabled from settings.
   181      * Tells if extension is currently enabled from settings.
   205      * @return  ETrue if extension is enabled, EFalse otherwise.
   182      * @return  ETrue if extension is enabled, EFalse otherwise.
   206      */
   183      */
   207     virtual TBool IsEnabled() const = 0;
   184     virtual TBool IsEnabled() const = 0;
   208     
       
   209     
       
   210     /**
       
   211      * Set keyboard mode to be used in matching.
       
   212      * @param  aMode    Mode to be used.
       
   213      */
       
   214     virtual void SetKeyboardMode( TKeyboardMode aMode ) = 0;
       
   215     
   185     
   216 private: // data
   186 private: // data
   217 
   187 
   218     /** ECom instance identifier key. */
   188     /** ECom instance identifier key. */
   219     TUid iDestructorIDKey;
   189     TUid iDestructorIDKey;