diff -r 91c2fb4b78df -r ba54057fe027 phoneuis/dialer/inc/cdialer.h --- a/phoneuis/dialer/inc/cdialer.h Tue Apr 27 16:37:10 2010 +0300 +++ b/phoneuis/dialer/inc/cdialer.h Tue May 11 16:13:03 2010 +0300 @@ -24,6 +24,8 @@ #include #include +#include +#include #include "mnumberentry.h" #include "mphoneqwertymodeobserver.h" @@ -123,7 +125,8 @@ public CCoeControl, public MNumberEntry, public MCoeControlObserver, - public MPhoneQwertyModeObserver + public MPhoneQwertyModeObserver, + public MPenUiActivationHandler { public: // Constructors and destructor @@ -413,6 +416,18 @@ */ void LayoutNumberEntry( const TRect& aParent, TInt aVariety ); + public: + + /** + * @see MPenUiActivationHandler + */ + void OnPeninputUiDeactivated(); + + /** + * @see MPenUiActivationHandler + */ + void OnPeninputUiActivated(); + private: // Data // Keypad container - owned @@ -459,7 +474,12 @@ * Is qwerty mode on. */ TBool iQwertyMode; - + + /** + * Server wich sends events via callback when the virtual keyboard is opened/closed. + */ + RPeninputServer iPeninputServer; + /** * Current type of the editor field. The field is numeric unless * the device is in QWERTY mode and there is some consumer (like VoIP, EasyDialing)