|
1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef HCTLUSBORIGINALUTILS_H |
|
23 #define HCTLUSBORIGINALUTILS_H |
|
24 |
|
25 #include <e32base.h> |
|
26 |
|
27 /** |
|
28 The panic category for the USB Original HCTL. |
|
29 */ |
|
30 _LIT(KUsbOriginalPanic, "HctlUsbOrigPanic"); |
|
31 |
|
32 /** |
|
33 Panic codes for USB Original HCTL. |
|
34 */ |
|
35 enum TUsbOriginalPanic |
|
36 { |
|
37 EUnexpectedCtrlMgrPowerState = 0, |
|
38 EReadAttemptWhenReadOutstanding = 1, |
|
39 EStateObserverNotAvailable = 2, |
|
40 EStartCalledWhenReadOutstanding = 3, |
|
41 ENoChannelObserver = 4, |
|
42 EPartiallyOpenedInterface = 5, |
|
43 EBadSessionPointer = 6, |
|
44 EStackOnWhenNoDeviceConnected = 7, |
|
45 }; |
|
46 |
|
47 #endif // HCTLUSBORIGINALUTILS_H |
|
48 |