widgets/widgetapp/inc/WidgetUiWindow.h
branchRCL_3
changeset 67 4917f9bf7995
parent 37 cb62a4f66ebe
child 71 4bd5176e1bc8
--- a/widgets/widgetapp/inc/WidgetUiWindow.h	Wed Apr 14 17:06:56 2010 +0300
+++ b/widgets/widgetapp/inc/WidgetUiWindow.h	Tue Apr 27 17:46:17 2010 +0300
@@ -27,6 +27,10 @@
 #include <coecntrl.h>
 #include "WidgetUiObserver.h"
 
+#ifdef BRDO_OCC_ENABLED_FF
+#include <connectionobservers.h>
+#endif
+
 // CONSTANTS
 enum TWidgetAccessGrant
     {
@@ -85,6 +89,9 @@
                     public MWidgetCallback, 
                     public MBrCtlSpecialLoadObserver,
                     public MAknServerAppExitObserver
+#ifdef BRDO_OCC_ENABLED_FF
+	                ,public MConnectionStageObserver
+#endif
     {
     public:
 
@@ -231,7 +238,28 @@
 
         void HandleServerAppExit( TInt aReason );
 
-
+#ifdef BRDO_OCC_ENABLED_FF        
+    protected:  // from MConnectionStageObserver
+      
+        /**
+        * Connection stage achieved. 
+        */
+        void ConnectionStageAchievedL();
+   public:
+   	
+        //Retry flags
+        void SetRetryFlag(TBool flag);
+        TBool GetRetryFlag();
+        
+        //For Call back for reconnectivity
+        static TInt RetryConnectivity(TAny* aCBrowserAppUi);
+        TInt RetryInternetConnection();	
+        
+        CPeriodic *iRetryConnectivity;
+        TBool reConnectivityFlag;
+        void ConnNeededStatusL( TInt aErr );
+        void StopConnectionObserving();
+#endif
     public:  // new functions
 
         /**
@@ -331,7 +359,7 @@
         * @since 3.1
         * @return void
         */
-       void Relayout( );
+       void RelayoutL(TInt aType=0 );
 
        /**
         * SetCurrentWindow
@@ -618,7 +646,10 @@
         TBool                           iNeedToNotifyNetworkState;        
         TBool                           iConnecting;                            
         TBool                           iDeleteItself;
-        CAsyncCallBack*                 iAsyncCallBack;                                    
+        CAsyncCallBack*                 iAsyncCallBack;    
+#ifdef BRDO_OCC_ENABLED_FF
+        CConnectionStageNotifierWCB*    iConnStageNotifier;                                
+#endif
    };
 
 #endif  //