equal
deleted
inserted
replaced
31 #include "tphonecmdparamspeeddial.h" |
31 #include "tphonecmdparamspeeddial.h" |
32 #include "aknkeylock.h" |
32 #include "aknkeylock.h" |
33 #include "tphonecmdparamtranseffect.h" |
33 #include "tphonecmdparamtranseffect.h" |
34 |
34 |
35 #include "mphoneviewblockingdialogobserver.h" |
35 #include "mphoneviewblockingdialogobserver.h" |
|
36 #include "mnumberentry.h" |
36 |
37 |
37 // FORWARD DECLARATIONS |
38 // FORWARD DECLARATIONS |
38 class CPhoneButtonsController; |
39 class CPhoneButtonsController; |
39 class CLogsClient; |
40 class CLogsClient; |
40 class CPhoneView; |
41 class CPhoneView; |
74 class CPhoneVmbxHandler; |
75 class CPhoneVmbxHandler; |
75 class CAknAppUi; |
76 class CAknAppUi; |
76 class CDialer; |
77 class CDialer; |
77 class MPhoneNumberEntryChangedHandler; |
78 class MPhoneNumberEntryChangedHandler; |
78 class MPhoneViewCustomization; |
79 class MPhoneViewCustomization; |
|
80 class CPhoneEasyDialingController; |
|
81 class CPhoneDtmfDialerController; |
79 |
82 |
80 class CPhoneViewController : |
83 class CPhoneViewController : |
81 public CBase, |
84 public CBase, |
82 public MPhoneViewCommandHandle, |
85 public MPhoneViewCommandHandle, |
83 public MPhoneStatusPaneObserver, |
86 public MPhoneStatusPaneObserver, |
84 public MPhoneViewBlockingDialogObserver |
87 public MPhoneViewBlockingDialogObserver, |
|
88 public MNumberEntryObserver |
85 { |
89 { |
86 public: // Constructors and destructor |
90 public: // Constructors and destructor |
87 |
91 |
88 IMPORT_C static CPhoneViewController* NewL( TRect aRect ); |
92 IMPORT_C static CPhoneViewController* NewL( TRect aRect ); |
89 |
93 |
242 * Sets the is blocking dialogs in screen. |
246 * Sets the is blocking dialogs in screen. |
243 * @param aBlockingDialog ETrue if blocking dialog is |
247 * @param aBlockingDialog ETrue if blocking dialog is |
244 * displayed. |
248 * displayed. |
245 */ |
249 */ |
246 IMPORT_C void SetBlockingDialogIsDisplayed( TBool aBlockingDialog ); |
250 IMPORT_C void SetBlockingDialogIsDisplayed( TBool aBlockingDialog ); |
|
251 |
|
252 /** |
|
253 * From base class MNumberEntryObserver |
|
254 * Indication that numberentry state changed |
|
255 */ |
|
256 void NumberEntryStateChanged( TBool aEntryHasText ); |
247 |
257 |
248 private: // New functions |
258 private: // New functions |
249 |
259 |
250 /** |
260 /** |
251 * read IdleApplicationUid from PubSub |
261 * read IdleApplicationUid from PubSub |
590 * @return TInt KErrNotFound if app not exists anymore in the list |
600 * @return TInt KErrNotFound if app not exists anymore in the list |
591 * otherwise app index in the list. |
601 * otherwise app index in the list. |
592 */ |
602 */ |
593 TInt FindAppByWgIDL( TInt aAppWgID ); |
603 TInt FindAppByWgIDL( TInt aAppWgID ); |
594 |
604 |
595 /** |
|
596 * Returns pointer to the control that is responsible of handling |
|
597 * Phone Number Entry Changed events. |
|
598 */ |
|
599 MPhoneNumberEntryChangedHandler* NumberEntryChangedHandler() const; |
|
600 |
|
601 /** |
605 /** |
602 * Returns single item fetch type |
606 * Returns single item fetch type |
603 * @return single item fetch type |
607 * @return single item fetch type |
604 */ |
608 */ |
605 TInt SingleItemFetchType() const; |
609 TInt SingleItemFetchType() const; |
612 /** |
616 /** |
613 * Unlock keys & screen. |
617 * Unlock keys & screen. |
614 */ |
618 */ |
615 void DisableKeyLock(); |
619 void DisableKeyLock(); |
616 |
620 |
|
621 /** |
|
622 * Checks if DTMF dialer mode is currently active |
|
623 */ |
|
624 TBool IsDtmfDialerActive() const; |
|
625 |
|
626 /** |
|
627 * Checks if custom dialer mode is currently active |
|
628 */ |
|
629 TBool IsCustomDialerActive() const; |
|
630 |
617 private: // Data |
631 private: // Data |
618 |
632 |
619 CPhoneView* iPhoneView; |
633 CPhoneView* iPhoneView; |
620 |
634 |
621 CPhoneDialerView* iDialerView; |
635 CPhoneDialerView* iDialerView; |
632 CPhoneButtonsController* iButtonsController; |
646 CPhoneButtonsController* iButtonsController; |
633 |
647 |
634 // Controls the touch buttons |
648 // Controls the touch buttons |
635 CPhoneDialerController* iDialerController; |
649 CPhoneDialerController* iDialerController; |
636 |
650 |
|
651 // Controls touch dialer in DTMF mode |
|
652 CPhoneDtmfDialerController* iDtmfDialerController; |
|
653 |
637 // Controls the toolbar |
654 // Controls the toolbar |
638 CPhoneToolbarController* iToolbarController; |
655 CPhoneToolbarController* iToolbarController; |
639 |
656 |
|
657 // Handles easydialing commands. Owned. |
|
658 CPhoneEasyDialingController* iEasyDialingController; |
|
659 |
640 // For accessing incall indicator |
660 // For accessing incall indicator |
641 CPhoneIncallIndicator* iIncallIndicator; |
661 CPhoneIncallIndicator* iIncallIndicator; |
642 |
662 |
643 CPhoneMenuController* iMenuController; |
663 CPhoneMenuController* iMenuController; |
644 |
664 |