diff -r ff572dfe6d86 -r 9674c1a575e9 idlehomescreen/widgetmanager/inc/wminstaller.h --- 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_