idlehomescreen/xmluirendering/uiengine/inc/xnwallpaperview.h
branchRCL_3
changeset 16 9674c1a575e9
parent 5 c743ef5928ba
child 34 d05a55b217df
equal deleted inserted replaced
15:ff572dfe6d86 16:9674c1a575e9
    19 
    19 
    20 
    20 
    21 #ifndef CXNWALLPAPERVIEW_H
    21 #ifndef CXNWALLPAPERVIEW_H
    22 #define CXNWALLPAPERVIEW_H
    22 #define CXNWALLPAPERVIEW_H
    23 
    23 
    24 //  INCLUDES
    24 // System includes
    25 #include <aknview.h>
    25 #include <aknview.h>
    26 
    26 
       
    27 // User includes
       
    28 
       
    29 // Forward declarations
    27 class CXnWallpaperContainer;
    30 class CXnWallpaperContainer;
       
    31 class CXnAppUiAdapter;
    28 class CXnUiEngine;
    32 class CXnUiEngine;
    29 class TVwsViewId;
    33 class TVwsViewId;
    30 class CPeriodic;
    34 class CPeriodic;
    31 
    35 
    32 // CONSTANTS
    36 // Constants
    33 const TUid KWallpaperViewUid = { 0x200286DB };
    37 const TUid KWallpaperViewUid = { 0x200286DB };
    34 
    38 
    35 /**
    39 /**
    36 *  Data structure to be used with timer callback.
    40 *  Data structure to be used with timer callback.
    37 *
    41 *
    39 */
    43 */
    40 NONSHARABLE_STRUCT( TXnWallpaperViewData )
    44 NONSHARABLE_STRUCT( TXnWallpaperViewData )
    41     {
    45     {
    42     TBool iMultiple;
    46     TBool iMultiple;
    43     TUid iAppUid;
    47     TUid iAppUid;
    44     TUid iViewUid;
    48     TUid iViewUid;    
    45     CPeriodic* iTimer; // Not own.
       
    46     };
    49     };
    47 
    50 
    48 // CLASS DECLARATION
    51 // CLASS DECLARATION
    49 
    52 
    50 /**
    53 /**
   106     /**
   109     /**
   107      * Wallpaper container.
   110      * Wallpaper container.
   108      * Own.
   111      * Own.
   109      */
   112      */
   110     CXnWallpaperContainer* iContainer;
   113     CXnWallpaperContainer* iContainer;
       
   114         
       
   115     /**
       
   116      * UiEngine
       
   117      * Not owned.
       
   118      */
       
   119     CXnUiEngine& iEngine;
   111     
   120     
   112     /**
   121     /**
   113      * Reference to uiengine.
   122      * AppUi
       
   123      * Not owned.
   114      */
   124      */
   115     CXnUiEngine& iEngine;
   125     CXnAppUiAdapter& iAppUi;
   116     
   126     
   117     /**
   127     /**
   118      * Data structure, that is transferred to TimerCallback.
   128      * Data structure, that is transferred to TimerCallback.
   119      */
   129      */
   120     TXnWallpaperViewData iData;
   130     TXnWallpaperViewData iData;
   122     /**
   132     /**
   123      * Periodic timer.
   133      * Periodic timer.
   124      * Own.
   134      * Own.
   125      */
   135      */
   126     CPeriodic* iTimer;
   136     CPeriodic* iTimer;
   127 
   137     
       
   138     /**
       
   139      * Resource file offset
       
   140      */
       
   141     TInt iResourceOffset;    
   128     };
   142     };
   129 
   143 
   130 #endif      // CXNWALLPAPERVIEW_H
   144 #endif      // CXNWALLPAPERVIEW_H
   131 
   145 
   132 // End of File
   146 // End of File