sysresmonitoring/oommonitor/inc/oompanic.h
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:  Panic codes for OOM monitor.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef OOMPANIC_
       
    20 #define OOMPANIC_
       
    21 
       
    22 #include <e32def.h>
       
    23 
       
    24 enum TOomMonitorPanic
       
    25     {
       
    26     KRuleConfiguredBeforeApplication,
       
    27     KCloseAppActionIsResued,
       
    28     KAppConfigAddedTwice,
       
    29     KSameAppClosureConfiguredTwice,
       
    30     KOomDefaultAppCloseNotConfigured,
       
    31     KPluginConfigAddedTwice,
       
    32     KRuleConfiguredBeforePlugin,
       
    33     KOomDefaultAppNotConfigured,
       
    34     KOomDefaultPluginNotConfigured,
       
    35     KNoCoeEnvFound,
       
    36     KInvalidWgName,
       
    37     KOomInvalidPriority,
       
    38     KAppCloseActionEqualPriorities,
       
    39     KClientQueueNotEmpty,
       
    40     KClientRequestTimerActive,
       
    41     KInvalidClientRequestType,
       
    42     KPluginArrayIndexOutOfBounds,
       
    43     KWindowGroupArrayIndexOutOfBounds,
       
    44     KStartingActiveCloseAppTimer,
       
    45     KStartingActiveAppCloseWatcher,
       
    46     KStartingActivePluginWaiter
       
    47     };
       
    48 
       
    49 void OomMonitorPanic(TOomMonitorPanic aReason);
       
    50 void OomConfigParserPanic(TInt aReason);
       
    51 
       
    52 #endif /*OOMPANIC_*/