idlehomescreen/xmluirendering/uiengine/inc/xnwallpaperview.h
branchRCL_3
changeset 12 9674c1a575e9
parent 5 c743ef5928ba
child 18 d05a55b217df
--- a/idlehomescreen/xmluirendering/uiengine/inc/xnwallpaperview.h	Fri Mar 12 15:41:49 2010 +0200
+++ b/idlehomescreen/xmluirendering/uiengine/inc/xnwallpaperview.h	Mon Mar 15 12:39:47 2010 +0200
@@ -21,15 +21,19 @@
 #ifndef CXNWALLPAPERVIEW_H
 #define CXNWALLPAPERVIEW_H
 
-//  INCLUDES
+// System includes
 #include <aknview.h>
 
+// User includes
+
+// Forward declarations
 class CXnWallpaperContainer;
+class CXnAppUiAdapter;
 class CXnUiEngine;
 class TVwsViewId;
 class CPeriodic;
 
-// CONSTANTS
+// Constants
 const TUid KWallpaperViewUid = { 0x200286DB };
 
 /**
@@ -41,8 +45,7 @@
     {
     TBool iMultiple;
     TUid iAppUid;
-    TUid iViewUid;
-    CPeriodic* iTimer; // Not own.
+    TUid iViewUid;    
     };
 
 // CLASS DECLARATION
@@ -108,11 +111,18 @@
      * Own.
      */
     CXnWallpaperContainer* iContainer;
+        
+    /**
+     * UiEngine
+     * Not owned.
+     */
+    CXnUiEngine& iEngine;
     
     /**
-     * Reference to uiengine.
+     * AppUi
+     * Not owned.
      */
-    CXnUiEngine& iEngine;
+    CXnAppUiAdapter& iAppUi;
     
     /**
      * Data structure, that is transferred to TimerCallback.
@@ -124,7 +134,11 @@
      * Own.
      */
     CPeriodic* iTimer;
-
+    
+    /**
+     * Resource file offset
+     */
+    TInt iResourceOffset;    
     };
 
 #endif      // CXNWALLPAPERVIEW_H