phoneuis/easydialing/inc/dialingextensioninterface.h
branchRCL_3
changeset 23 40a3f856b14d
parent 5 2a26698d78ba
equal deleted inserted replaced
22:94dc1107e8b2 23:40a3f856b14d
    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;
    91     
   114     
    92     /**
   115     /**
    93      * Creates an instance of plugin.
   116      * Creates an instance of plugin.
    94      */
   117      */
    95     static CDialingExtensionInterface* NewL();
   118     static CDialingExtensionInterface* NewL();
   180     /**
   203     /**
   181      * Tells if extension is currently enabled from settings.
   204      * Tells if extension is currently enabled from settings.
   182      * @return  ETrue if extension is enabled, EFalse otherwise.
   205      * @return  ETrue if extension is enabled, EFalse otherwise.
   183      */
   206      */
   184     virtual TBool IsEnabled() const = 0;
   207     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;
   185     
   215     
   186 private: // data
   216 private: // data
   187 
   217 
   188     /** ECom instance identifier key. */
   218     /** ECom instance identifier key. */
   189     TUid iDestructorIDKey;
   219     TUid iDestructorIDKey;