1 /* |
|
2 * Copyright (c) 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: File contains error codes, from Watcher perspective |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef ERRORS_H |
|
19 #define ERRORS_H |
|
20 |
|
21 #include <e32base.h> |
|
22 |
|
23 enum TUsbWatcherErrors |
|
24 { |
|
25 EUsbWatcherUndefined, //0 |
|
26 EUsbWatcherErrDriversNotFound, //1 |
|
27 EUsbWatcherHubsNotSupported, //2 |
|
28 EUsbWatcherErrDeviceRequiresTooMuchPower, //3 |
|
29 EUsbWatcherErrUnsupportedDevice, //4 |
|
30 EUsbWatcherConnectedToOTG, //5 |
|
31 EUsbWatcherErrDandlingCable, //6 |
|
32 EUsbWatcherNoActivity, //7 |
|
33 EUsbWatcherErrorInConnection, //8 |
|
34 EUsbWatcherErrDeviceRequiresTooMuchPowerOnEnumeration, //9 |
|
35 EUsbWatcherCanNotStartUsbServices, //10 |
|
36 EUsbWatcherIdPinError, |
|
37 EUsbWatcherVBusObserverError, |
|
38 EUsbWatcherHostEventNotificationError, |
|
39 EUsbWatcherOtgStateError, |
|
40 EUsbWatcherMessageNotificationError, |
|
41 EUsbWatcherCanNotStartSession, |
|
42 EUsbWatcherCanNotEnableDriverLoading, |
|
43 EUsbWatcherCanNotClearBusError, |
|
44 EUsbWatcherCanNotRaiseVBus, |
|
45 EUsbWatcherNoMemory |
|
46 |
|
47 }; |
|
48 |
|
49 #endif // ERRRORS_H |
|