equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006 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". |
137 /** |
137 /** |
138 * Sets the target; the maximum prioirity up to which actions are run when an OomMonitor event |
138 * Sets the target; the maximum prioirity up to which actions are run when an OomMonitor event |
139 * occurs |
139 * occurs |
140 * |
140 * |
141 * @since S60 5.0 |
141 * @since S60 5.0 |
142 * @param aCurrentRamTarget the desired amount of free unpaged memory |
142 * @param aCurrentTarget the prio |
143 * @param aCurrentSwapTarget the desired amount of free paged memory |
|
144 */ |
143 */ |
145 inline void SetCurrentTargets(TUint aCurrentRamTarget, TUint aCurrentSwapTarget); |
144 inline void SetCurrentTarget(TUint aCurrentTarget); |
146 |
145 |
147 /** |
146 /** |
148 * Switch all plugins to Off (Memory Good) state |
147 * Switch all plugins to Off (Memory Good) state |
149 * Should be called when the memory situation is good, i.e. the actions run have released enough memory |
148 * Should be called when the memory situation is good, i.e. the actions run have released enough memory |
150 * so that the device is above the current target. |
149 * so that the device is above the current target. |
201 RPointerArray<COomRunPlugin> iRunPluginActions; |
200 RPointerArray<COomRunPlugin> iRunPluginActions; |
202 RArray<TActionRef> iActionRefs; |
201 RArray<TActionRef> iActionRefs; |
203 |
202 |
204 TInt iCurrentActionIndex; |
203 TInt iCurrentActionIndex; |
205 |
204 |
206 TUint iCurrentRamTarget; |
205 TUint iCurrentTarget; |
207 TBool iSwapUsageMonitored; |
|
208 TUint iCurrentSwapTarget; |
|
209 |
206 |
210 /* |
207 /* |
211 * Flag specifying that a OomMonitor event is in progress. |
208 * Flag specifying that a OomMonitor event is in progress. |
212 */ |
209 */ |
213 TBool iFreeingMemory; |
210 TBool iFreeingMemory; |