usbengines/usbotgwatcher/inc/panic.h
branchRCL_3
changeset 65 a44cdf4b4bf0
parent 64 8ecef05bbada
child 21 ff9df6630274
equal deleted inserted replaced
64:8ecef05bbada 65:a44cdf4b4bf0
     1 /*
     1 /*
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3  * All rights reserved.
     4 * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     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:  Central place for debug-type macros & functions
       
    15  *
     8  *
    16 */
     9  * Initial Contributors:
    17 
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:  Central place for debug-type macros & functions
       
    15  *
       
    16  */
    18 #ifndef USBWATCHER_PANIC_H
    17 #ifndef USBWATCHER_PANIC_H
    19 #define USBWATCHER_PANIC_H
    18 #define USBWATCHER_PANIC_H
    20 #include <e32base.h>
    19 #include <e32base.h>
    21 #include <e32debug.h>
    20 #include <e32debug.h>
    22 _LIT(KUsbWatcherPanic, "UsbOTGWatcher");
    21 _LIT(KUsbWatcherPanic, "UsbOTGWatcher");
   105     EConnectedToOTGNotExpected, //65
   104     EConnectedToOTGNotExpected, //65
   106 
   105 
   107     EWrongTimerId, //66
   106     EWrongTimerId, //66
   108     EUnexpectedNotifId, //67
   107     EUnexpectedNotifId, //67
   109     EUnknownUsbServiceState, //68
   108     EUnknownUsbServiceState, //68
   110     EUnexpectedUsbServiceState,    //69
   109     EUnexpectedUsbServiceState, //69
   111     EUnexpectedUsbSwitchPersonalityState, //70
   110     EUnexpectedUsbSwitchPersonalityState, //70
   112     
   111 
   113     ECanNotFindUsbOtgWatcherStateObserver, //71
   112     ECanNotFindUsbOtgWatcherStateObserver, //71
   114     ENoObserverToUnsubscribe, // 72
   113     ENoObserverToUnsubscribe, // 72
   115     EObserverAlreadyExists, //73
   114     EObserverAlreadyExists, //73
   116     EIdForNotDefinedStateRequested, //74
   115     EIdForNotDefinedStateRequested, //74
   117     ECanNotFindHostEventNotificationObserver //75
   116     ECanNotFindHostEventNotificationObserver, //75
       
   117     ENoTimersDefinedForThisClass    //76
   118 
   118 
   119     };
   119     };
   120 
   120 
   121 /**
   121 /**
   122  * Shows application name and panic code
   122  * Shows application name and panic code