widgets/widgetapp/inc/WidgetUiWindow.h
branchRCL_3
changeset 67 4917f9bf7995
parent 37 cb62a4f66ebe
child 71 4bd5176e1bc8
equal deleted inserted replaced
64:ac77f89b1d9e 67:4917f9bf7995
    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 // CONSTANTS
    34 // CONSTANTS
    31 enum TWidgetAccessGrant
    35 enum TWidgetAccessGrant
    32     {
    36     {
    33     EInvalid,
    37     EInvalid,
    34     EDeny,
    38     EDeny,
    83 */
    87 */
    84 class CWidgetUiWindow :  public CBase, 
    88 class CWidgetUiWindow :  public CBase, 
    85                     public MWidgetCallback, 
    89                     public MWidgetCallback, 
    86                     public MBrCtlSpecialLoadObserver,
    90                     public MBrCtlSpecialLoadObserver,
    87                     public MAknServerAppExitObserver
    91                     public MAknServerAppExitObserver
       
    92 #ifdef BRDO_OCC_ENABLED_FF
       
    93 	                ,public MConnectionStageObserver
       
    94 #endif
    88     {
    95     {
    89     public:
    96     public:
    90 
    97 
    91         /**
    98         /**
    92         * OpenWindowL
    99         * OpenWindowL
   229 		
   236 		
   230     public: //MAknServerAppExitObserver
   237     public: //MAknServerAppExitObserver
   231 
   238 
   232         void HandleServerAppExit( TInt aReason );
   239         void HandleServerAppExit( TInt aReason );
   233 
   240 
   234 
   241 #ifdef BRDO_OCC_ENABLED_FF        
       
   242     protected:  // from MConnectionStageObserver
       
   243       
       
   244         /**
       
   245         * Connection stage achieved. 
       
   246         */
       
   247         void ConnectionStageAchievedL();
       
   248    public:
       
   249    	
       
   250         //Retry flags
       
   251         void SetRetryFlag(TBool flag);
       
   252         TBool GetRetryFlag();
       
   253         
       
   254         //For Call back for reconnectivity
       
   255         static TInt RetryConnectivity(TAny* aCBrowserAppUi);
       
   256         TInt RetryInternetConnection();	
       
   257         
       
   258         CPeriodic *iRetryConnectivity;
       
   259         TBool reConnectivityFlag;
       
   260         void ConnNeededStatusL( TInt aErr );
       
   261         void StopConnectionObserving();
       
   262 #endif
   235     public:  // new functions
   263     public:  // new functions
   236 
   264 
   237         /**
   265         /**
   238         * Engine
   266         * Engine
   239         * @since 3.1
   267         * @since 3.1
   329         * Relayout
   357         * Relayout
   330         * relayout display to preferred orientation
   358         * relayout display to preferred orientation
   331         * @since 3.1
   359         * @since 3.1
   332         * @return void
   360         * @return void
   333         */
   361         */
   334        void Relayout( );
   362        void RelayoutL(TInt aType=0 );
   335 
   363 
   336        /**
   364        /**
   337         * SetCurrentWindow
   365         * SetCurrentWindow
   338         * sets the current window active or non-current window inactive
   366         * sets the current window active or non-current window inactive
   339         * @since 3.1
   367         * @since 3.1
   616         CJpgSaver*                       iJpgSaver; 
   644         CJpgSaver*                       iJpgSaver; 
   617         CActiveSchedulerWait*           iNetworkModeWait;
   645         CActiveSchedulerWait*           iNetworkModeWait;
   618         TBool                           iNeedToNotifyNetworkState;        
   646         TBool                           iNeedToNotifyNetworkState;        
   619         TBool                           iConnecting;                            
   647         TBool                           iConnecting;                            
   620         TBool                           iDeleteItself;
   648         TBool                           iDeleteItself;
   621         CAsyncCallBack*                 iAsyncCallBack;                                    
   649         CAsyncCallBack*                 iAsyncCallBack;    
       
   650 #ifdef BRDO_OCC_ENABLED_FF
       
   651         CConnectionStageNotifierWCB*    iConnStageNotifier;                                
       
   652 #endif
   622    };
   653    };
   623 
   654 
   624 #endif  //
   655 #endif  //
   625 
   656 
   626 // End of file
   657 // End of file