widgets/widgetapp/inc/WidgetUiWindowManager.h
branchRCL_3
changeset 44 800203832575
parent 41 4bd5176e1bc8
child 47 e1bea15f9a39
equal deleted inserted replaced
42:a1a5d4e727e8 44:800203832575
    57 
    57 
    58 #ifdef BRDO_WRT_HS_FF
    58 #ifdef BRDO_WRT_HS_FF
    59 class CCpsPublisher;
    59 class CCpsPublisher;
    60 #endif
    60 #endif
    61 // CLASS DECLARATION
    61 // CLASS DECLARATION
       
    62 #ifdef BRDO_OCC_ENABLED_FF
       
    63 #include <connectionobservers.h>
       
    64 #endif
    62 
    65 
    63 class CRepository; 
    66 class CRepository; 
    64 
    67 
    65 class MCenrepWatcher
    68 class MCenrepWatcher
    66        {
    69        {
    91 *  CWidgetUiWindowManager
    94 *  CWidgetUiWindowManager
    92 *  @lib WidgetUi.app
    95 *  @lib WidgetUi.app
    93 *  @since 3.1
    96 *  @since 3.1
    94 */
    97 */
    95 class CWidgetUiWindowManager : public CBase,
    98 class CWidgetUiWindowManager : public CBase,
    96 	                             public MCenrepWatcher
    99 	                           public MCenrepWatcher
       
   100 #ifdef BRDO_OCC_ENABLED_FF
       
   101                               ,public MConnectionStageObserver
       
   102 #endif
    97     {
   103     {
    98     public:  // constructors / destructor
   104     public:  // constructors / destructor
    99 
   105 
   100         /**
   106         /**
   101         * NewL
   107         * NewL
   602         * @since 5.0
   608         * @since 5.0
   603         * @param aUid
   609         * @param aUid
   604         * @return none
   610         * @return none
   605         */
   611         */
   606         void SendWidgetToBackground( const TUid& aUid );
   612         void SendWidgetToBackground( const TUid& aUid );
   607 
   613 #ifdef BRDO_OCC_ENABLED_FF        
       
   614    protected:  // from MConnectionStageObserver
       
   615       
       
   616        // Connection stage achieved. 
       
   617         void ConnectionStageAchievedL();
       
   618    public:
       
   619     
       
   620         //Retry flags
       
   621         void SetRetryFlag(TBool flag);
       
   622         TBool GetRetryFlag();
       
   623         
       
   624         //For Call back for reconnectivity
       
   625         static TInt RetryConnectivity(TAny* aWindowManager);
       
   626         TInt RetryInternetConnection(); 
       
   627         
       
   628         CPeriodic *iRetryConnectivity;
       
   629         TBool reConnectivityFlag;
       
   630         void ConnNeededStatusL( TInt aErr );
       
   631         void StopConnectionObserving();
       
   632 #endif
       
   633         
   608     private:
   634     private:
   609 
   635 
   610         CWidgetUiWindow*                    iActiveFsWindow;    // reference.
   636         CWidgetUiWindow*                    iActiveFsWindow;    // reference.
   611         CWidgetUiWindowView*                iContentView;   // not owned, not responsible for deleting
   637         CWidgetUiWindowView*                iContentView;   // not owned, not responsible for deleting
   612         RPointerArray<CWidgetUiWindow>      iWindowList;    // owned, responsible for deleting
   638         RPointerArray<CWidgetUiWindow>      iWindowList;    // owned, responsible for deleting
   630         CActiveApDb*                        iDb;                // owned, responsible for deleting        
   656         CActiveApDb*                        iDb;                // owned, responsible for deleting        
   631         CPeriodic*                          iNotifyOOMFlagTimer;//Timer for one min timeout before next oom note is shown
   657         CPeriodic*                          iNotifyOOMFlagTimer;//Timer for one min timeout before next oom note is shown
   632         CPeriodic*                          iNotifyHarvester;//Notify harvester to send next event
   658         CPeriodic*                          iNotifyHarvester;//Notify harvester to send next event
   633 #ifdef  OOM_WIDGET_CLOSEALL
   659 #ifdef  OOM_WIDGET_CLOSEALL
   634         TTime                               iTimeLastWidgetOpen;
   660         TTime                               iTimeLastWidgetOpen;
   635 #endif  
   661 #endif
       
   662 #ifdef BRDO_OCC_ENABLED_FF
       
   663         CConnectionStageNotifierWCB*    iConnStageNotifier;                                
       
   664 #endif
   636     };
   665     };
   637 
   666 
   638 #endif  // WIDGETUIWINDOWMANAGER_H_
   667 #endif  // WIDGETUIWINDOWMANAGER_H_
   639 
   668 
   640 // End of File
   669 // End of File