--- a/appsupport_plat/oom_monitor_plugin_api/inc/oommonitorplugin.h Thu Jul 15 18:49:38 2010 +0300
+++ b/appsupport_plat/oom_monitor_plugin_api/inc/oommonitorplugin.h Thu Aug 19 10:05:08 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
@@ -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);