64
|
1 |
/*
|
|
2 |
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: Configuration representation classes for Graphics Out of Memory Monitor
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef GOOMGLOBALCONFIG_
|
|
20 |
#define GOOMGLOBALCONFIG_
|
|
21 |
|
|
22 |
#include <e32base.h>
|
|
23 |
#include <e32hashtab.h>
|
|
24 |
|
|
25 |
NONSHARABLE_CLASS(CGOomGlobalConfig) : public CBase
|
|
26 |
{
|
|
27 |
public:
|
|
28 |
~CGOomGlobalConfig();
|
|
29 |
|
|
30 |
inline void AddForceCheckPriorityL(TUint aPriority);
|
|
31 |
|
|
32 |
// Return ETrue if a force check has been added for this priority, return EFalse otherwise
|
|
33 |
inline TBool ForceCheckAtPriority(TUint aPriority) const;
|
|
34 |
|
|
35 |
public:
|
|
36 |
TInt iLowRamThreshold;
|
|
37 |
TInt iGoodRamThreshold;
|
|
38 |
TUint iMaxCloseAppBatch;
|
|
39 |
TInt iDefaultWaitAfterPlugin;
|
|
40 |
|
|
41 |
RHashSet<TUint> iForceCheckPriorities;
|
|
42 |
};
|
|
43 |
|
|
44 |
#include "goomglobalconfig.inl"
|
|
45 |
|
|
46 |
#endif /*GOOMGLOBALCONFIG_*/
|