phoneapp/phoneuiview/inc/cphoneviewcontroller.h
branchRCL_3
changeset 10 ba54057fe027
parent 9 91c2fb4b78df
child 14 b8d67d6176f5
equal deleted inserted replaced
9:91c2fb4b78df 10:ba54057fe027
    33 #include "tphonecmdparamtranseffect.h"
    33 #include "tphonecmdparamtranseffect.h"
    34 
    34 
    35 #include "mphoneviewblockingdialogobserver.h"
    35 #include "mphoneviewblockingdialogobserver.h"
    36 #include "mnumberentry.h"
    36 #include "mnumberentry.h"
    37 #include "mphonesecuritymodechangeobserver.h"
    37 #include "mphonesecuritymodechangeobserver.h"
       
    38 
       
    39 #include "mphoneviewcontrollerobserver.h"
    38 
    40 
    39 // FORWARD DECLARATIONS
    41 // FORWARD DECLARATIONS
    40 class CPhoneButtonsController;
    42 class CPhoneButtonsController;
    41 class CLogsClient;
    43 class CLogsClient;
    42 class CPhoneView;
    44 class CPhoneView;
    77 class CDialer;
    79 class CDialer;
    78 class MPhoneNumberEntryChangedHandler;
    80 class MPhoneNumberEntryChangedHandler;
    79 class MPhoneViewCustomization;
    81 class MPhoneViewCustomization;
    80 class CPhoneEasyDialingController;
    82 class CPhoneEasyDialingController;
    81 class CPhoneDtmfDialerController;
    83 class CPhoneDtmfDialerController;
       
    84 class CAknIncallBubble;
    82 
    85 
    83 class CPhoneViewController :
    86 class CPhoneViewController :
    84     public CBase,
    87     public CBase,
    85     public MPhoneViewCommandHandle,
    88     public MPhoneViewCommandHandle,
    86     public MPhoneStatusPaneObserver,
    89     public MPhoneStatusPaneObserver,
    87     public MPhoneViewBlockingDialogObserver,
    90     public MPhoneViewBlockingDialogObserver,
    88     public MNumberEntryObserver,
    91     public MNumberEntryObserver,
    89 	public MPhoneSecurityModeChangeObserver
    92 	public MPhoneSecurityModeChangeObserver,
       
    93 	public MPhoneViewControllerObserver
    90     {
    94     {
    91     public:  // Constructors and destructor
    95     public:  // Constructors and destructor
    92 
    96 
    93         IMPORT_C static CPhoneViewController* NewL( TRect aRect );
    97         IMPORT_C static CPhoneViewController* NewL( TRect aRect );
    94 
    98 
   257         void NumberEntryStateChanged( TBool aEntryHasText );    
   261         void NumberEntryStateChanged( TBool aEntryHasText );    
   258 
   262 
   259 // From MPhoneSecurityModeChangeObserver
   263 // From MPhoneSecurityModeChangeObserver
   260 
   264 
   261 		IMPORT_C void HandleSecurityModeChanged( TBool aIsEnabled );
   265 		IMPORT_C void HandleSecurityModeChanged( TBool aIsEnabled );
       
   266 		
       
   267 		/**
       
   268         * Sets incall small bubble´s visibility in special cases.
       
   269         */ 
       
   270 		void AllowInCallBubbleInSpecialCases();
       
   271 		
       
   272 		/**
       
   273         * Sets value for incall bubble visibility.
       
   274         */ 
       
   275 		void SetIncallBubbleVisibility( TBool aIncallBubbleVisible );
   262 
   276 
   263     private:     // New functions
   277     private:     // New functions
   264 
   278 
   265 		/**
   279 		/**
   266 		 * Set security mode
   280 		 * Set security mode
   794         TBool iSecurityMode;
   808         TBool iSecurityMode;
   795         
   809         
   796         // Boolean flag. ETrue if the application needs to return
   810         // Boolean flag. ETrue if the application needs to return
   797         // to the foreground after call ended
   811         // to the foreground after call ended
   798         TBool iNeedToReturnToForegroundAppAfterCall;
   812         TBool iNeedToReturnToForegroundAppAfterCall;
       
   813         
       
   814         CAknIncallBubble* iIncallBubble;
   799     };
   815     };
   800 
   816 
   801 #endif // CPHONEVIEWCONTROLLER_H
   817 #endif // CPHONEVIEWCONTROLLER_H