appsupport_plat/oom_monitor_plugin_api/inc/oommonitorplugin.h
branchRCL_3
changeset 20 c2c61fdca848
parent 19 924385140d98
--- a/appsupport_plat/oom_monitor_plugin_api/inc/oommonitorplugin.h	Tue Aug 31 15:24:25 2010 +0300
+++ b/appsupport_plat/oom_monitor_plugin_api/inc/oommonitorplugin.h	Wed Sep 01 12:24:48 2010 +0100
@@ -78,6 +78,16 @@
 	* between low and good memory states.
 	*/
 	virtual void MemoryGood() = 0;
+	
+    /**
+    * Function: AppId
+    * The function return the UID3 of the process which implements the plugin
+    * By default, the Null UID [KNullUid] is returned. 
+    * The plugin can override this API with their own implementation.
+    * COomMonitorPlugin monitor plugins
+    * @return the UID3 the application which implements the plugin
+    */
+	virtual const TUid AppId() const;
 
 public:
     /**
@@ -174,6 +184,16 @@
 public:
     IMPORT_C static CAppOomMonitorPlugin* NewL(TUid aAppUid);
     
+    /**
+    * Function: AppId
+    * The function return the UID3 of the process which implements the plugin
+    * By default, the Null UID [KNullUid] is returned. 
+    * The plugin can override this API with their own implementation.
+    * COomMonitorPlugin monitor plugins
+    * @return the UID3 the application which implements the plugin
+    */
+    const TUid AppId() const;
+    
 private:
 	CAppOomMonitorPlugin(TUid aAppUid);