sysresmonitoring/oommonitor/inc/oomconfig.inl
branchRCL_3
changeset 18 0818dd463d41
parent 1 0fdb7f6b0309
--- a/sysresmonitoring/oommonitor/inc/oomconfig.inl	Thu Jul 15 18:49:38 2010 +0300
+++ b/sysresmonitoring/oommonitor/inc/oomconfig.inl	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"
@@ -34,6 +34,21 @@
     iGlobalConfig.iGoodRamThreshold = aGoodRamThreshold;
     }
 
+void COomConfig::SetSwapUsageMonitored(TBool aMonitored)
+    {
+    iGlobalConfig.iSwapUsageMonitored = aMonitored;
+    }
+
+void COomConfig::SetDefaultLowSwapThreshold(TInt aLowSwapThreshold)
+    {
+    iGlobalConfig.iLowSwapThreshold = aLowSwapThreshold;
+    }
+
+void COomConfig::SetDefaultGoodSwapThreshold(TInt aGoodSwapThreshold)
+    {
+    iGlobalConfig.iGoodSwapThreshold = aGoodSwapThreshold;
+    }
+
 void COomConfig::SetMaxCloseAppBatch(TUint aMaxCloseAppBatch)
     {
     iGlobalConfig.iMaxCloseAppBatch = aMaxCloseAppBatch;