equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
32 void COomConfig::SetDefaultGoodRamThreshold(TInt aGoodRamThreshold) |
32 void COomConfig::SetDefaultGoodRamThreshold(TInt aGoodRamThreshold) |
33 { |
33 { |
34 iGlobalConfig.iGoodRamThreshold = aGoodRamThreshold; |
34 iGlobalConfig.iGoodRamThreshold = aGoodRamThreshold; |
35 } |
35 } |
36 |
36 |
|
37 void COomConfig::SetSwapUsageMonitored(TBool aMonitored) |
|
38 { |
|
39 iGlobalConfig.iSwapUsageMonitored = aMonitored; |
|
40 } |
|
41 |
|
42 void COomConfig::SetDefaultLowSwapThreshold(TInt aLowSwapThreshold) |
|
43 { |
|
44 iGlobalConfig.iLowSwapThreshold = aLowSwapThreshold; |
|
45 } |
|
46 |
|
47 void COomConfig::SetDefaultGoodSwapThreshold(TInt aGoodSwapThreshold) |
|
48 { |
|
49 iGlobalConfig.iGoodSwapThreshold = aGoodSwapThreshold; |
|
50 } |
|
51 |
37 void COomConfig::SetMaxCloseAppBatch(TUint aMaxCloseAppBatch) |
52 void COomConfig::SetMaxCloseAppBatch(TUint aMaxCloseAppBatch) |
38 { |
53 { |
39 iGlobalConfig.iMaxCloseAppBatch = aMaxCloseAppBatch; |
54 iGlobalConfig.iMaxCloseAppBatch = aMaxCloseAppBatch; |
40 } |
55 } |
41 void COomConfig::SetDefaultWaitAfterPlugin(TInt aMilliseconds) |
56 void COomConfig::SetDefaultWaitAfterPlugin(TInt aMilliseconds) |