equal
deleted
inserted
replaced
22 |
22 |
23 // INCLUDES |
23 // INCLUDES |
24 #include <coecntrl.h> |
24 #include <coecntrl.h> |
25 #include <coemain.h> |
25 #include <coemain.h> |
26 |
26 |
|
27 #include <peninputsrveventhandler.h> |
|
28 #include <peninputclient.h> |
27 #include "mnumberentry.h" |
29 #include "mnumberentry.h" |
28 #include "mphoneqwertymodeobserver.h" |
30 #include "mphoneqwertymodeobserver.h" |
29 |
31 |
30 // CONSTANTS |
32 // CONSTANTS |
31 |
33 |
121 */ |
123 */ |
122 NONSHARABLE_CLASS(CDialer) : |
124 NONSHARABLE_CLASS(CDialer) : |
123 public CCoeControl, |
125 public CCoeControl, |
124 public MNumberEntry, |
126 public MNumberEntry, |
125 public MCoeControlObserver, |
127 public MCoeControlObserver, |
126 public MPhoneQwertyModeObserver |
128 public MPhoneQwertyModeObserver, |
|
129 public MPenUiActivationHandler |
127 { |
130 { |
128 public: // Constructors and destructor |
131 public: // Constructors and destructor |
129 |
132 |
130 /** |
133 /** |
131 * Two phase constructor |
134 * Two phase constructor |
411 * Layout number entry component. The used layout depends on |
414 * Layout number entry component. The used layout depends on |
412 * the availability and state of Easy dialing. |
415 * the availability and state of Easy dialing. |
413 */ |
416 */ |
414 void LayoutNumberEntry( const TRect& aParent, TInt aVariety ); |
417 void LayoutNumberEntry( const TRect& aParent, TInt aVariety ); |
415 |
418 |
|
419 public: |
|
420 |
|
421 /** |
|
422 * @see MPenUiActivationHandler |
|
423 */ |
|
424 void OnPeninputUiDeactivated(); |
|
425 |
|
426 /** |
|
427 * @see MPenUiActivationHandler |
|
428 */ |
|
429 void OnPeninputUiActivated(); |
|
430 |
416 private: // Data |
431 private: // Data |
417 |
432 |
418 // Keypad container - owned |
433 // Keypad container - owned |
419 CDialerKeyPadContainer* iKeypadArea; |
434 CDialerKeyPadContainer* iKeypadArea; |
420 |
435 |
457 |
472 |
458 /* |
473 /* |
459 * Is qwerty mode on. |
474 * Is qwerty mode on. |
460 */ |
475 */ |
461 TBool iQwertyMode; |
476 TBool iQwertyMode; |
462 |
477 |
|
478 /** |
|
479 * Server wich sends events via callback when the virtual keyboard is opened/closed. |
|
480 */ |
|
481 RPeninputServer iPeninputServer; |
|
482 |
463 /** |
483 /** |
464 * Current type of the editor field. The field is numeric unless |
484 * Current type of the editor field. The field is numeric unless |
465 * the device is in QWERTY mode and there is some consumer (like VoIP, EasyDialing) |
485 * the device is in QWERTY mode and there is some consumer (like VoIP, EasyDialing) |
466 * for the alphabetic characters. |
486 * for the alphabetic characters. |
467 */ |
487 */ |