diff -r 94dc1107e8b2 -r 40a3f856b14d phoneuis/easydialing/inc/dialingextensioninterface.h --- a/phoneuis/easydialing/inc/dialingextensioninterface.h Thu Jul 15 18:38:16 2010 +0300 +++ b/phoneuis/easydialing/inc/dialingextensioninterface.h Thu Aug 19 09:54:27 2010 +0300 @@ -88,6 +88,29 @@ class CDialingExtensionInterface : public CCoeControl { public: + + + /** + * Enumeration for keyboard modes. Keyboardmode affect on how search string is matched + * with contacts. + */ + typedef enum + { + + /* + * ENormalKeyboard is used when there is no QWERTY keyboard, or non-hybrid mode + * QWERTY keyboard. + */ + EDefaultKeyboard = 0, + + /* + * EHybridQwerty is used with hybrid mode QWERTY keyboard. Hybrid mode means + * that keys where a letter and number share a common key, short press to that key + * produces the number, not the letter. + */ + EHybridQwerty + + } TKeyboardMode; /** * Creates an instance of plugin. @@ -183,6 +206,13 @@ */ virtual TBool IsEnabled() const = 0; + + /** + * Set keyboard mode to be used in matching. + * @param aMode Mode to be used. + */ + virtual void SetKeyboardMode( TKeyboardMode aMode ) = 0; + private: // data /** ECom instance identifier key. */