phoneuis/dialer/inc/cdialer.h
branchRCL_3
changeset 10 ba54057fe027
parent 9 91c2fb4b78df
child 12 b68fcd923911
--- 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 <coecntrl.h>
 #include <coemain.h>
 
+#include <peninputsrveventhandler.h>
+#include <peninputclient.h>
 #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)