javauis/remconobserver_akn/inc/panics.h
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2008-2008 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:  Java RemCon Observer Panic codes
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PANICS_H
       
    20 #define PANICS_H
       
    21 
       
    22 /**
       
    23  * Java RemCon panic category. Used as the first parameter in User::Panic().
       
    24  */
       
    25 _LIT(KJavaRemConPanicCategory, "JAVA-REMCON");
       
    26 
       
    27 
       
    28 /**
       
    29  * Java RemCon panic numbers and descriptions.
       
    30  */
       
    31 enum TJavaRemConPanic
       
    32 {
       
    33     EJavaRemConPanicGeneral = 0,
       
    34     /**< 0 - General JAVA-REMCON panic; More descriptive panics should be used
       
    35        instead of this. */
       
    36 
       
    37     EJavaRemConPanicObserverNotRemoved = 1,
       
    38     /**< 1 - Indicates that a observer is not removed yet */
       
    39 
       
    40     EJavaRemConPanicObserverNotSet = 2,
       
    41     /**< 2 - Indicates that a observer is not removed yet */
       
    42 
       
    43     EJavaRemConPanicObserverNotFound = 3,
       
    44     /**< 3 - Indicates that the observer is not found during removing */
       
    45 };
       
    46 
       
    47 #endif // PANICS_H
       
    48 
       
    49 // End of File