harvester/monitorplugins/mdsoomplugin/inc/mdsoomplugin.h
branchGCC_SURGE
changeset 39 3d9988ee47f5
parent 35 f727727520eb
equal deleted inserted replaced
32:bf039b7fe409 39:3d9988ee47f5
    30 
    30 
    31 /**
    31 /**
    32 *  CMdSOomPlugin
    32 *  CMdSOomPlugin
    33 * 
    33 * 
    34 */
    34 */
    35 class CMdSOomPlugin : public COomMonitorPlugin
    35 class CMdSOomPlugin : public COomMonitorPluginV2
    36 	{
    36 	{
    37 public:
    37 public:
    38 	// Constructors and destructor
    38 	// Constructors and destructor
    39 	static CMdSOomPlugin* NewL();
    39 	static CMdSOomPlugin* NewL();
    40 	
    40 	
    46 
    46 
    47 	/**
    47 	/**
    48 	 * From COomMonitorPlugin v2
    48 	 * From COomMonitorPlugin v2
    49 	 * FreeRam is called when the system RAM level becomes
    49 	 * FreeRam is called when the system RAM level becomes
    50 	 * low. This plugin is requested to help free some RAM.
    50 	 * low. This plugin is requested to help free some RAM.
    51 	 * Paramater reserved for v2 plugin
       
    52 	 */
    51 	 */
    53 	void FreeRam( /*TInt aBytesToFree*/ );
    52 	void FreeRam( TInt aBytesToFree );
    54 
    53 
    55 	/**
    54 	/**
    56 	 * From COomMonitorPlugin v2
    55 	 * From COomMonitorPlugin v2
    57 	 * MemoryGood is called when the system RAM level becomes
    56 	 * MemoryGood is called when the system RAM level becomes
    58 	 * good after being low.The plugin may take this opportunity
    57 	 * good after being low.The plugin may take this opportunity