idlehomescreen/widgetmanager/inc/wmresourceloader.h
changeset 4 4d54b72983ae
parent 2 08c6ee43b396
child 5 c743ef5928ba
equal deleted inserted replaced
3:fb3763350a08 4:4d54b72983ae
    22 
    22 
    23 // INCLUDE FILES
    23 // INCLUDE FILES
    24 #include <e32base.h>
    24 #include <e32base.h>
    25 
    25 
    26 // FORWARD DECLARATIONS
    26 // FORWARD DECLARATIONS
    27 class CAknStylusPopUpMenu;
       
    28 class CEikonEnv;
    27 class CEikonEnv;
    29 class CAknButton;
       
    30 class CAknInformationNote;
    28 class CAknInformationNote;
    31 
    29 
    32 /**
    30 /**
    33  * CWmResourceLoader
    31  * CWmResourceLoader
    34  */
    32  */
    46 	
    44 	
    47 	/** destructor */
    45 	/** destructor */
    48 	~CWmResourceLoader();
    46 	~CWmResourceLoader();
    49 
    47 
    50 public: // services
    48 public: // services
    51 
       
    52     /**
       
    53      * Loads a button from the widgetmanager resource file
       
    54      * using CAknButton::ConstructFromResourceL
       
    55      * 
       
    56      * @param aResource handle to the empty button instance
       
    57      * @param aResourceId ID of the resource to use in loading
       
    58      */
       
    59     void LoadButtonL(
       
    60             CAknButton& aResource,
       
    61             TInt aResourceId );
       
    62 
    49 
    63     /**
    50     /**
    64      * shows a simple info popup with OK button
    51      * shows a simple info popup with OK button
    65      * @param aResourceId the resource id of string to be shown
    52      * @param aResourceId the resource id of string to be shown
    66      * @param aString additional string to be replaced into %U
    53      * @param aString additional string to be replaced into %U