widgets/widgetapp/inc/WidgetUiWindow.h
branchRCL_3
changeset 44 800203832575
parent 41 4bd5176e1bc8
child 47 e1bea15f9a39
equal deleted inserted replaced
42:a1a5d4e727e8 44:800203832575
    25 #include <brctlinterface.h> // for MWidgetCallback
    25 #include <brctlinterface.h> // for MWidgetCallback
    26 #include <AknServerApp.h>
    26 #include <AknServerApp.h>
    27 #include <coecntrl.h>
    27 #include <coecntrl.h>
    28 #include "WidgetUiObserver.h"
    28 #include "WidgetUiObserver.h"
    29 
    29 
    30 #ifdef BRDO_OCC_ENABLED_FF
       
    31 #include <connectionobservers.h>
       
    32 #endif
       
    33 
    30 
    34 // CONSTANTS
    31 // CONSTANTS
    35 enum TWidgetAccessGrant
    32 enum TWidgetAccessGrant
    36     {
    33     {
    37     EInvalid,
    34     EInvalid,
    88 */
    85 */
    89 class CWidgetUiWindow :  public CBase, 
    86 class CWidgetUiWindow :  public CBase, 
    90                     public MWidgetCallback, 
    87                     public MWidgetCallback, 
    91                     public MBrCtlSpecialLoadObserver,
    88                     public MBrCtlSpecialLoadObserver,
    92                     public MAknServerAppExitObserver
    89                     public MAknServerAppExitObserver
    93 #ifdef BRDO_OCC_ENABLED_FF
       
    94 	                ,public MConnectionStageObserver
       
    95 #endif
       
    96     {
    90     {
    97     public:
    91     public:
    98 
    92 
    99         /**
    93         /**
   100         * OpenWindowL
    94         * OpenWindowL
   237 		
   231 		
   238     public: //MAknServerAppExitObserver
   232     public: //MAknServerAppExitObserver
   239 
   233 
   240         void HandleServerAppExit( TInt aReason );
   234         void HandleServerAppExit( TInt aReason );
   241 
   235 
   242 #ifdef BRDO_OCC_ENABLED_FF        
       
   243     protected:  // from MConnectionStageObserver
       
   244       
       
   245         /**
       
   246         * Connection stage achieved. 
       
   247         */
       
   248         void ConnectionStageAchievedL();
       
   249    public:
       
   250    	
       
   251         //Retry flags
       
   252         void SetRetryFlag(TBool flag);
       
   253         TBool GetRetryFlag();
       
   254         
       
   255         //For Call back for reconnectivity
       
   256         static TInt RetryConnectivity(TAny* aCBrowserAppUi);
       
   257         TInt RetryInternetConnection();	
       
   258         
       
   259         CPeriodic *iRetryConnectivity;
       
   260         TBool reConnectivityFlag;
       
   261         void ConnNeededStatusL( TInt aErr );
       
   262         void StopConnectionObserving();
       
   263 #endif
       
   264     public:  // new functions
   236     public:  // new functions
   265 
   237 
   266         /**
   238         /**
   267         * Engine
   239         * Engine
   268         * @since 3.1
   240         * @since 3.1
   654         TBool                           iNeedToNotifyNetworkState;        
   626         TBool                           iNeedToNotifyNetworkState;        
   655         TBool                           iConnecting;                            
   627         TBool                           iConnecting;                            
   656         TBool                           iDeleteItself;
   628         TBool                           iDeleteItself;
   657         CAsyncCallBack*                 iAsyncCallBack;    
   629         CAsyncCallBack*                 iAsyncCallBack;    
   658         CBrowserDialogsProvider*        iDialogsProvider;// owned, responsible for deleting
   630         CBrowserDialogsProvider*        iDialogsProvider;// owned, responsible for deleting
   659 #ifdef BRDO_OCC_ENABLED_FF
   631 
   660         CConnectionStageNotifierWCB*    iConnStageNotifier;                                
       
   661 #endif
       
   662    };
   632    };
   663 
   633 
   664 #endif  //
   634 #endif  //
   665 
   635 
   666 // End of file
   636 // End of file