idlehomescreen/widgetmanager/inc/wminstaller.h
branchRCL_3
changeset 12 9674c1a575e9
parent 11 ff572dfe6d86
child 17 b8fae6b8a148
equal deleted inserted replaced
11:ff572dfe6d86 12:9674c1a575e9
    22 #include <SWInstApi.h> //installer
    22 #include <SWInstApi.h> //installer
    23 
    23 
    24 class CIdle;
    24 class CIdle;
    25 class CWmWidgetData;
    25 class CWmWidgetData;
    26 class TUid;
    26 class TUid;
       
    27 class CWmPlugin;
    27 
    28 
    28 /**
    29 /**
    29  * CWmInstaller 
    30  * CWmInstaller 
    30  */
    31  */
    31 NONSHARABLE_CLASS( CWmInstaller ) : public CActive
    32 NONSHARABLE_CLASS( CWmInstaller ) : public CActive
    32     {
    33     {
    33 public:
    34 public:
    34     /**
    35     /**
    35      * Two-phased constructors.
    36      * Two-phased constructors.
       
    37 	 * @param aWmPlugin Reference to plugin root
    36      */
    38      */
    37     static CWmInstaller* NewL();
    39     static CWmInstaller* NewL( CWmPlugin& aWmPlugin );
    38     static CWmInstaller* NewLC();
    40     static CWmInstaller* NewLC( CWmPlugin& aWmPlugin );
    39     
    41     
    40     /** Destructor */
    42     /** Destructor */
    41     ~CWmInstaller();
    43     ~CWmInstaller();
    42     
    44     
    43 private:    
    45 private:    
    44     /** constructor */
    46     /** constructor */
    45     CWmInstaller();
    47     CWmInstaller( CWmPlugin& aWmPlugin );
    46     
    48     
    47     /** 2nd phase constructor */
    49     /** 2nd phase constructor */
    48     void ConstructL();
    50     void ConstructL();
    49     
    51     
    50 protected: // implementation of CActive
    52 protected: // implementation of CActive
   104      */    
   106      */    
   105     TUid iUid;
   107     TUid iUid;
   106     
   108     
   107     
   109     
   108     HBufC8* iMime;
   110     HBufC8* iMime;
       
   111     
       
   112     /** reference to plugin root */
       
   113     CWmPlugin& iWmPlugin;
   109     };
   114     };
   110 
   115 
   111 #endif // __WMPLUGIN_
   116 #endif // __WMPLUGIN_