idlehomescreen/widgetmanager/inc/wminstaller.h
branchRCL_3
changeset 12 9674c1a575e9
parent 11 ff572dfe6d86
child 17 b8fae6b8a148
--- a/idlehomescreen/widgetmanager/inc/wminstaller.h	Fri Mar 12 15:41:49 2010 +0200
+++ b/idlehomescreen/widgetmanager/inc/wminstaller.h	Mon Mar 15 12:39:47 2010 +0200
@@ -24,6 +24,7 @@
 class CIdle;
 class CWmWidgetData;
 class TUid;
+class CWmPlugin;
 
 /**
  * CWmInstaller 
@@ -33,16 +34,17 @@
 public:
     /**
      * Two-phased constructors.
+	 * @param aWmPlugin Reference to plugin root
      */
-    static CWmInstaller* NewL();
-    static CWmInstaller* NewLC();
+    static CWmInstaller* NewL( CWmPlugin& aWmPlugin );
+    static CWmInstaller* NewLC( CWmPlugin& aWmPlugin );
     
     /** Destructor */
     ~CWmInstaller();
     
 private:    
     /** constructor */
-    CWmInstaller();
+    CWmInstaller( CWmPlugin& aWmPlugin );
     
     /** 2nd phase constructor */
     void ConstructL();
@@ -106,6 +108,9 @@
     
     
     HBufC8* iMime;
+    
+    /** reference to plugin root */
+    CWmPlugin& iWmPlugin;
     };
 
 #endif // __WMPLUGIN_