equal
deleted
inserted
replaced
258 |
258 |
259 /** |
259 /** |
260 * From base class MNumberEntryObserver |
260 * From base class MNumberEntryObserver |
261 * Indication that numberentry state changed |
261 * Indication that numberentry state changed |
262 */ |
262 */ |
263 void NumberEntryStateChanged( TBool aEntryHasText ); |
263 void NumberEntryStateChanged( TBool aEntryHasText ); |
264 |
264 |
265 // From MPhoneSecurityModeChangeObserver |
265 // From MPhoneSecurityModeChangeObserver |
266 |
266 |
267 IMPORT_C void HandleSecurityModeChanged( TBool aIsEnabled ); |
267 IMPORT_C void HandleSecurityModeChanged( TBool aIsEnabled ); |
268 |
268 |
269 /** |
269 /** |
270 * Sets incall small bubble´s visibility in special cases. |
270 * Sets incall small bubble´s visibility in special cases. |
271 */ |
271 */ |
272 void AllowInCallBubbleInSpecialCases(); |
272 void AllowInCallBubbleInSpecialCases(); |
273 |
273 |
274 /** |
274 /** |
275 * Sets value for incall bubble visibility. |
275 * Sets value for incall bubble visibility. |
276 */ |
276 */ |
277 void SetIncallBubbleVisibility( TBool aIncallBubbleVisible ); |
277 void SetIncallBubbleVisibility( TBool aIncallBubbleVisible ); |
278 |
278 |
279 private: // New functions |
279 private: // New functions |
280 |
280 |
281 /** |
281 /** |
282 * Set security mode |
282 * Set security mode |
283 * |
283 * |
284 * @param aMode ETrue if mode should be set enabled. |
284 * @param aMode ETrue if mode should be set enabled. |
285 */ |
285 */ |
286 void SetSecurityMode( TBool aMode ); |
286 void SetSecurityMode( TBool aMode ); |
287 |
287 |
288 /** |
288 /** |
289 * read IdleApplicationUid from PubSub |
289 * read IdleApplicationUid from PubSub |
290 */ |
290 */ |
291 TInt IdleAppUid(); |
291 TInt IdleAppUid(); |
292 |
292 |
524 * Convert number type from Speed Dial field info |
524 * Convert number type from Speed Dial field info |
525 * @param aFieldInfo - field info |
525 * @param aFieldInfo - field info |
526 * @return Phone number's type |
526 * @return Phone number's type |
527 */ |
527 */ |
528 TPhoneNumberType ConvertNumberTypeFromSpeedDialFieldInfo( |
528 TPhoneNumberType ConvertNumberTypeFromSpeedDialFieldInfo( |
529 CPhCntSpeedDialMonitor::TSpdDialFieldInfo aFieldInfo ); |
529 const CPhCntSpeedDialMonitor::TSpdDialFieldInfo& aFieldInfo ); |
530 |
530 |
531 /** |
531 /** |
532 * Open the Unified message editor and get |
532 * Open the Unified message editor and get |
533 * number from number entry |
533 * number from number entry |
534 */ |
534 */ |
584 void SwapEmptyIndicatorPaneL( const TBool aSwapEmpty ); |
584 void SwapEmptyIndicatorPaneL( const TBool aSwapEmpty ); |
585 |
585 |
586 /** |
586 /** |
587 * Handles transition effect. |
587 * Handles transition effect. |
588 */ |
588 */ |
589 void HandleTransitionEffect( TPhoneTransEffectType aType, |
589 void HandleTransitionEffect( TPhoneTransEffectType aType, |
590 const TUid& aAppUidEffectParam = KUidPhoneApplication ); |
590 const TUid& aAppUidEffectParam = KUidPhoneApplication ); |
591 |
591 |
592 /** |
592 /** |
593 * Sets control to dialer. |
593 * Sets control to dialer. |
594 */ |
594 */ |
631 * @return single item fetch type |
631 * @return single item fetch type |
632 */ |
632 */ |
633 TInt SingleItemFetchType() const; |
633 TInt SingleItemFetchType() const; |
634 |
634 |
635 /** |
635 /** |
636 * Checks if DTMF dialer mode is currently active |
636 * Checks if DTMF dialer mode is currently active |
637 */ |
637 */ |
638 TBool IsDtmfDialerActive() const; |
638 TBool IsDtmfDialerActive() const; |
639 |
639 |
640 /** |
640 /** |
641 * Checks if custom dialer mode is currently active |
641 * Checks if custom dialer mode is currently active |
642 */ |
642 */ |
643 TBool IsCustomDialerActive() const; |
643 TBool IsCustomDialerActive() const; |
644 |
644 |
645 /** |
645 /** |
646 * Checks if the effect could and should be triggered. |
646 * Checks if the effect could and should be triggered. |
647 */ |
647 */ |
648 TBool CanTransEffectBeUsed( TPhoneTransEffectType aType ); |
648 TBool CanTransEffectBeUsed( TPhoneTransEffectType aType ); |
649 |
649 |
657 |
657 |
658 /** |
658 /** |
659 * Complete transition effect. |
659 * Complete transition effect. |
660 */ |
660 */ |
661 void EndTransEffect(); |
661 void EndTransEffect(); |
662 |
662 |
663 /** |
663 /** |
664 * TCleanupOperation to call EndTransEffect, if leave occurs |
664 * TCleanupOperation to call EndTransEffect, if leave occurs |
665 * after BeginTransEffectForAppStartFromDialerLC. |
665 * after BeginTransEffectForAppStartFromDialerLC. |
666 */ |
666 */ |
667 static void EffectCleanup(TAny* aThis ); |
667 static void EffectCleanup(TAny* aThis ); |
668 |
668 |
669 private: |
669 /** |
|
670 * Checks if emergency call is ongoing. |
|
671 */ |
|
672 TBool IsEmergencyCallOngoing(); |
|
673 |
|
674 private: |
670 /** |
675 /** |
671 * Called by the skin server when skin content is changed and the |
676 * Called by the skin server when skin content is changed and the |
672 * connected client wants to be informed. |
677 * connected client wants to be informed. |
673 * |
678 * |
674 * @see MAknsSkinChangeObserver |
679 * @see MAknsSkinChangeObserver |
690 * |
695 * |
691 * @see MAknsSkinChangeObserver |
696 * @see MAknsSkinChangeObserver |
692 */ |
697 */ |
693 void SkinPackageChanged( |
698 void SkinPackageChanged( |
694 const TAknsSkinStatusPackageChangeReason aReason ); |
699 const TAknsSkinStatusPackageChangeReason aReason ); |
695 |
700 |
696 private: // Data |
701 private: // Data |
697 |
702 |
698 CPhoneView* iPhoneView; |
703 CPhoneView* iPhoneView; |
699 |
704 |
700 CPhoneDialerView* iDialerView; |
705 CPhoneDialerView* iDialerView; |
701 |
706 |
702 // iCba |
707 // iCba |
703 CEikButtonGroupContainer* iCba; |
708 CEikButtonGroupContainer* iCba; |
704 |
709 |
705 CPhoneStatusPane* iStatusPane; |
710 CPhoneStatusPane* iStatusPane; |
710 // Controls the touch buttons |
715 // Controls the touch buttons |
711 CPhoneButtonsController* iButtonsController; |
716 CPhoneButtonsController* iButtonsController; |
712 |
717 |
713 // Controls the touch buttons |
718 // Controls the touch buttons |
714 CPhoneDialerController* iDialerController; |
719 CPhoneDialerController* iDialerController; |
715 |
720 |
716 // Controls touch dialer in DTMF mode |
721 // Controls touch dialer in DTMF mode |
717 CPhoneDtmfDialerController* iDtmfDialerController; |
722 CPhoneDtmfDialerController* iDtmfDialerController; |
718 |
723 |
719 // Controls the toolbar |
724 // Controls the toolbar |
720 CPhoneToolbarController* iToolbarController; |
725 CPhoneToolbarController* iToolbarController; |
721 |
726 |
722 // Handles easydialing commands. Owned. |
727 // Handles easydialing commands. Owned. |
723 CPhoneEasyDialingController* iEasyDialingController; |
728 CPhoneEasyDialingController* iEasyDialingController; |
724 |
729 |
725 // For accessing incall indicator |
730 // For accessing incall indicator |
726 CPhoneIncallIndicator* iIncallIndicator; |
731 CPhoneIncallIndicator* iIncallIndicator; |
727 |
732 |
728 CPhoneMenuController* iMenuController; |
733 CPhoneMenuController* iMenuController; |
729 |
734 |
734 CPhoneKeyCaptureController* iKeyCaptureController; |
739 CPhoneKeyCaptureController* iKeyCaptureController; |
735 |
740 |
736 CPhoneApplicationExit* iApplicationExit; |
741 CPhoneApplicationExit* iApplicationExit; |
737 |
742 |
738 CPhoneAudioController* iAudioController; |
743 CPhoneAudioController* iAudioController; |
739 |
744 |
740 CPhoneRingingTonePlayerAO* iRingingTonePlayerAO; |
745 CPhoneRingingTonePlayerAO* iRingingTonePlayerAO; |
741 |
746 |
742 // EikEnv for CPhoneKeyCaptureController, CPhoneNoteController, |
747 // EikEnv for CPhoneKeyCaptureController, CPhoneNoteController, |
743 // CPhoneMenuController and CPhoneQueryController |
748 // CPhoneMenuController and CPhoneQueryController |
744 CEikonEnv& iEikEnv; |
749 CEikonEnv& iEikEnv; |
828 TBool iDialerSendKeyActivation; |
833 TBool iDialerSendKeyActivation; |
829 |
834 |
830 TInt iPrevious; |
835 TInt iPrevious; |
831 |
836 |
832 TBool iPriotityChanged; |
837 TBool iPriotityChanged; |
833 |
838 |
834 /** |
839 /** |
835 * Internal flag to define if security mode is enabled. |
840 * Internal flag to define if security mode is enabled. |
836 */ |
841 */ |
837 TBool iSecurityMode; |
842 TBool iSecurityMode; |
838 |
843 |
839 // Boolean flag. ETrue if the application needs to return |
844 // Boolean flag. ETrue if the application needs to return |
840 // to the foreground after call ended |
845 // to the foreground after call ended |
841 TBool iNeedToReturnToForegroundAppAfterCall; |
846 TBool iNeedToReturnToForegroundAppAfterCall; |
842 |
847 |
843 CAknIncallBubble* iIncallBubble; |
848 CAknIncallBubble* iIncallBubble; |
844 |
849 |
845 // Server wich sends events about background image changes |
850 // Server wich sends events about background image changes |
846 RAknsSrvSession iSkinServerSession; |
851 RAknsSrvSession iSkinServerSession; |
847 }; |
852 }; |
848 |
853 |
849 #endif // CPHONEVIEWCONTROLLER_H |
854 #endif // CPHONEVIEWCONTROLLER_H |