sysresmonitoring/oommonitor/src/oommonitorplugin.cpp
branchRCL_3
changeset 18 0818dd463d41
parent 2 7645e9ce10dc
child 19 924385140d98
--- a/sysresmonitoring/oommonitor/src/oommonitorplugin.cpp	Thu Jul 15 18:49:38 2010 +0300
+++ b/sysresmonitoring/oommonitor/src/oommonitorplugin.cpp	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"
@@ -87,7 +87,16 @@
     return iMemoryMonitor->iWs;
     }
 
-
+//-----------------------------------------------------------------------------
+// Function: AppId
+// Function returns the UID3 of the application which implements the 
+// plugin
+//-----------------------------------------------------------------------------
+//
+EXPORT_C const TUid COomMonitorPlugin::AppId() const
+    {
+    return KNullUid;
+    }
 
 EXPORT_C void COomMonitorPluginV2::FreeRam()
     {
@@ -137,3 +146,15 @@
         }
     while (wgId>0);
     }
+
+//-----------------------------------------------------------------------------
+// Function: AppId
+// Function returns the UID3 of the application which implements the 
+// plugin
+//-----------------------------------------------------------------------------
+//
+const TUid CAppOomMonitorPlugin::AppId() const
+    {
+    return iAppUid;
+    }
+