sysresmonitoring/oommonitor/src/oompanic.cpp
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:  Panic codes for OOM monitor.
       
    15 *
       
    16 */
       
    17 
       
    18 #include "oompanic.h"
       
    19 
       
    20 #include <e32std.h>
       
    21 
       
    22 void OomMonitorPanic(TOomMonitorPanic aReason)
       
    23     {
       
    24     _LIT(KCat, "OomMonitor");
       
    25     User::Panic(KCat, aReason);
       
    26     }
       
    27 
       
    28 void OomConfigParserPanic(TInt aReason)
       
    29     {
       
    30     _LIT(KParserCat, "OomParser");
       
    31     User::Panic(KParserCat, aReason);
       
    32     }