sysresmonitoring/oommonitor/inc/oomglobalconfig.inl
branchRCL_3
changeset 1 0fdb7f6b0309
child 19 924385140d98
equal deleted inserted replaced
0:2e3d3ce01487 1:0fdb7f6b0309
       
     1 /*
       
     2 * Copyright (c) 2006 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 Out of Memory Monitor.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef OOMGLOBALCONFIGINL_H_
       
    20 #define OOMGLOBALCONFIGINL_H_
       
    21 
       
    22 void COomGlobalConfig::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 COomGlobalConfig::ForceCheckAtPriority(TUint aPriority) const
       
    29     {
       
    30     return (iForceCheckPriorities.Find(aPriority) != NULL);
       
    31     }
       
    32 
       
    33 #endif /*OOMGLOBALCONFIGINL_H_*/