idlehomescreen/xmluirendering/uiengine/inc/xnbackgroundmanager.h
branchRCL_3
changeset 30 b8fae6b8a148
parent 16 9674c1a575e9
child 34 d05a55b217df
equal deleted inserted replaced
16:9674c1a575e9 30:b8fae6b8a148
    26 
    26 
    27 // CLASS DECLARATION
    27 // CLASS DECLARATION
    28 class CXnViewManager;
    28 class CXnViewManager;
    29 class CXnViewData;
    29 class CXnViewData;
    30 class CAknsLayeredBackgroundControlContext;
    30 class CAknsLayeredBackgroundControlContext;
       
    31 class CXnOomSysHandler;
    31 
    32 
    32 namespace hspswrapper
    33 namespace hspswrapper
    33     {
    34     {
    34     class CHspsWrapper;
    35     class CHspsWrapper;
    35     }
    36     }
   113      * @param aOldView         Old view
   114      * @param aOldView         Old view
   114      * @param aNewView         New view 
   115      * @param aNewView         New view 
   115      */
   116      */
   116     void WallpaperChanged( const CXnViewData& aOldView, 
   117     void WallpaperChanged( const CXnViewData& aOldView, 
   117         const CXnViewData& aNewView );
   118         const CXnViewData& aNewView );
   118     
   119         
   119     /**
   120     /**
   120      * Draws wallpaper immediately, or once the window comes visible.
   121      * Draws wallpaper immediately, or once the window comes visible.
   121      * 
   122      * 
   122      * @since S60 5.0
   123      * @since S60 5.0
   123      */
   124      */
   160         const TAknsSkinStatusPackageChangeReason aReason );
   161         const TAknsSkinStatusPackageChangeReason aReason );
   161 
   162 
   162     /**
   163     /**
   163     * From MDiskNotifyHandlerCallback.
   164     * From MDiskNotifyHandlerCallback.
   164     */
   165     */
   165     void HandleNotifyDisk( TInt aError, const TDiskEvent& aEvent );
   166     void HandleNotifyDisk( TInt aError, const TDiskEvent& aEvent );   
   166 
   167 
   167 private:
   168 private:
   168     
   169     
   169     /**
   170     /**
   170      * C++ default constructor.
   171      * C++ default constructor.
   187     void CheckFeatureTypeL();
   188     void CheckFeatureTypeL();
   188     TInt AddPageSpecificWallpaperL( const TDesC& aFileName );
   189     TInt AddPageSpecificWallpaperL( const TDesC& aFileName );
   189     TInt AddCommonWallpaperL( const TDesC& aFileName, TBool aSave = ETrue );
   190     TInt AddCommonWallpaperL( const TDesC& aFileName, TBool aSave = ETrue );
   190     void ReadWallpaperFromCenrepL();    
   191     void ReadWallpaperFromCenrepL();    
   191     void DrawEditModeBackgroundSkin() const;
   192     void DrawEditModeBackgroundSkin() const;
       
   193     CXnOomSysHandler& OomSysHandler() const;
       
   194     void DrawStatusPaneMask() const;    
   192 
   195 
   193     /**
   196     /**
   194      * Callback function to be used with CPeriodic.
   197      * Callback function to be used with CPeriodic.
   195      */
   198      */
   196     static TInt TimerCallback( TAny *aPtr );
   199     static TInt TimerCallback( TAny *aPtr );
   238 
   241 
   239     /** 
   242     /** 
   240      * Stores wallpaper type. 
   243      * Stores wallpaper type. 
   241      */
   244      */
   242     CXnBackgroundManager::WppType iType;
   245     CXnBackgroundManager::WppType iType;
   243 
   246     
   244     /** 
   247     /** 
   245      * Internal wallpaper update in progress
   248      * Internal wallpaper update in progress
   246      */
   249      */
   247     TInt iIntUpdate;
   250     TInt iIntUpdate;
   248 
   251 
   270      * Periodic timer.
   273      * Periodic timer.
   271      * Own.
   274      * Own.
   272      */
   275      */
   273     CPeriodic* iTimer;
   276     CPeriodic* iTimer;
   274     
   277     
       
   278     /**
       
   279      * OOM system handler. 
       
   280      * Own.
       
   281      */
       
   282     CXnOomSysHandler* iOomSysHandler;
       
   283     
   275     };
   284     };
   276 
   285 
   277 #endif      // CXNBACKGROUNDMANAGER_H
   286 #endif      // CXNBACKGROUNDMANAGER_H
   278 
   287 
   279 // End of File
   288 // End of File