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 GOOMGLOBALCONFIGINL_H_
|
|
20 |
#define GOOMGLOBALCONFIGINL_H_
|
|
21 |
|
|
22 |
void CGOomGlobalConfig::AddForceCheckPriorityL(TUint aPriority)
|
|
23 |
{
|
|
24 |
iForceCheckPriorities.InsertL(aPriority);
|
|
25 |
}
|
|
26 |
|
|
27 |
// Return ETrue if a force check has been added for this priority, return EFalse otherwise
|
|
28 |
TBool CGOomGlobalConfig::ForceCheckAtPriority(TUint aPriority) const
|
|
29 |
{
|
|
30 |
return (iForceCheckPriorities.Find(aPriority) != NULL);
|
|
31 |
}
|
|
32 |
|
|
33 |
#endif /*GOOMGLOBALCONFIGINL_H_*/
|