sysresmonitoring/oommonitor/inc/oomglobalconfig.h
branchRCL_3
changeset 1 0fdb7f6b0309
child 18 0818dd463d41
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 OOMGLOBALCONFIG_
       
    20 #define OOMGLOBALCONFIG_
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <e32hashtab.h>
       
    24 
       
    25 /**
       
    26  *  Class presenting the parts of the configuration that are global defaults rather than specific
       
    27  *  to the current state of the device
       
    28  *
       
    29  *  @lib oommonitor.lib
       
    30  *  @since S60 v5.0
       
    31  */
       
    32 NONSHARABLE_CLASS(COomGlobalConfig) : public CBase
       
    33     {
       
    34 public:
       
    35     ~COomGlobalConfig();
       
    36     
       
    37     inline void AddForceCheckPriorityL(TUint aPriority);
       
    38     
       
    39     // Return ETrue if a force check has been added for this priority, return EFalse otherwise
       
    40     inline TBool ForceCheckAtPriority(TUint aPriority) const;
       
    41     
       
    42 public:
       
    43     TInt iLowRamThreshold;
       
    44     TInt iGoodRamThreshold;
       
    45     TUint iMaxCloseAppBatch;
       
    46     TInt iDefaultWaitAfterPlugin;
       
    47     TInt iMaxAppExitTime;
       
    48     
       
    49     RHashSet<TUint> iForceCheckPriorities;
       
    50     };
       
    51 
       
    52 #include "oomglobalconfig.inl"
       
    53 
       
    54 #endif /*OOMGLOBALCONFIG_*/