widgets/widgetapp/inc/WidgetUiWindowManager.h
changeset 65 5bfc169077b2
parent 37 cb62a4f66ebe
child 68 92a765b5b3e7
equal deleted inserted replaced
42:d39add9822e2 65:5bfc169077b2
    19 #ifndef WIDGETUIWINDOWMANAGER_H_
    19 #ifndef WIDGETUIWINDOWMANAGER_H_
    20 #define WIDGETUIWINDOWMANAGER_H_
    20 #define WIDGETUIWINDOWMANAGER_H_
    21 
    21 
    22 // INCLUDES FILES
    22 // INCLUDES FILES
    23 
    23 
    24 #include <widgetregistryclient.h>
    24 #include <WidgetRegistryClient.h>
    25 #include <aknglobalconfirmationquery.h>
    25 #include <aknglobalconfirmationquery.h>
    26 #include <coecntrl.h>
    26 #include <coecntrl.h>
    27 #include "WidgetUiObserver.h"
    27 #include "WidgetUiObserver.h"
    28 #include "browser_platform_variant.hrh"
    28 #include "Browser_platform_variant.hrh"
    29 // CONSTANTS
    29 // CONSTANTS
    30 
    30 
    31 enum TNetworkMode
    31 enum TNetworkMode
    32     {
    32     {
    33     EUnknownMode = 0,
    33     EUnknownMode = 0,
   234         * @since 3.1
   234         * @since 3.1
   235         */
   235         */
   236         void HandleOOMEventL( TBool aForeground );
   236         void HandleOOMEventL( TBool aForeground );
   237 
   237 
   238 // Utility stuff.
   238 // Utility stuff.
   239         /**
   239 
   240         * ExitNow
       
   241         * Exits the AppUi
       
   242         * @since 5.0
       
   243         * @param none
       
   244         * @return none
       
   245         */        
       
   246         void ExitNow();
       
   247         
       
   248         /**
   240         /**
   249         * WindowList
   241         * WindowList
   250         * Gets the list of running windows
   242         * Gets the list of running windows
   251         * @since 3.1
   243         * @since 3.1
   252         * @param none
   244         * @param none
   406         * Checks to see if any widget is Publishing on HS
   398         * Checks to see if any widget is Publishing on HS
   407         * @since 5.0
   399         * @since 5.0
   408         * @return TBool
   400         * @return TBool
   409         */  		
   401         */  		
   410 		TBool AnyWidgetPublishing();
   402 		TBool AnyWidgetPublishing();
   411 		
   403         
   412         /**
       
   413         * Returns a reference to the Appui of WidgetUi
       
   414         * @return reference to CWidgetUiAppUi 
       
   415         */
       
   416         CWidgetUiAppUi& AppUi(){ return iAppUi; }
       
   417 
       
   418         /**
       
   419         * Returns the count of the windows in the widget
       
   420         * @return count of the windows
       
   421         */
       
   422         TInt WindowListCount(){ return iWindowList.Count(); }
       
   423         
   404         
   424 #ifdef  OOM_WIDGET_CLOSEALL
   405 #ifdef  OOM_WIDGET_CLOSEALL
   425         /**
   406         /**
   426         * CloseAllWidgetsUnderOOM
   407         * CloseAllWidgetsUnderOOM
   427         * @param none
   408         * @param none