equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008 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". |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: Central place for debug-type macros & functions |
14 * Description: Central place for debug-type macros & functions |
15 * |
15 * |
16 */ |
16 */ |
17 #ifndef USBWATCHER_PANIC_H |
17 #ifndef C_PANIC_H |
18 #define USBWATCHER_PANIC_H |
18 #define C_PANIC_H |
|
19 |
19 #include <e32base.h> |
20 #include <e32base.h> |
20 #include <e32debug.h> |
21 #include <e32debug.h> |
|
22 |
21 _LIT(KUsbWatcherPanic, "UsbOTGWatcher"); |
23 _LIT(KUsbWatcherPanic, "UsbOTGWatcher"); |
22 |
24 |
23 enum TUsbWatcherPanic |
25 enum TUsbWatcherPanic |
24 { |
26 { |
25 ECanNotGetIdPinProperty, //0 |
27 ECanNotGetIdPinProperty, //0 |
116 ECanNotFindHostEventNotificationObserver, //75 |
118 ECanNotFindHostEventNotificationObserver, //75 |
117 ENoTimersDefinedForThisClass //76 |
119 ENoTimersDefinedForThisClass //76 |
118 |
120 |
119 }; |
121 }; |
120 |
122 |
121 /** |
123 #endif // C_PANIC_H |
122 * Shows application name and panic code |
|
123 * @param aPanicId panic id |
|
124 */ |
|
125 void Panic(TUsbWatcherPanic aPanicId); |
|
126 |
|
127 #endif // USBWATCHER_PANIC_H |
|