sysresmonitoring/oommonitor/inc/oomglobalconfig.inl
changeset 35 13fd6fd25fe7
equal deleted inserted replaced
29:6a787171e1de 35:13fd6fd25fe7
       
     1 /*
       
     2 * Copyright (c) 2006-2010 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_*/