|
1 /* |
|
2 * Copyright (c) 2008-2009 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 |
|
19 #ifndef ERRORS_H |
|
20 #define ERRORS_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 enum TUsbWatcherErrors |
|
25 { |
|
26 EUsbWatcherUndefined, //0 |
|
27 EUsbWatcherErrDriversNotFound, //1 |
|
28 EUsbWatcherHubsNotSupported, //2 |
|
29 EUsbWatcherErrDeviceRequiresTooMuchPower, //3 |
|
30 EUsbWatcherErrUnsupportedDevice, //4 |
|
31 EUsbWatcherConnectedToOTG, //5 |
|
32 EUsbWatcherErrDandlingCable, //6 |
|
33 EUsbWatcherNoActivity, //7 |
|
34 EUsbWatcherErrorInConnection, //8 |
|
35 EUsbWatcherErrDeviceRequiresTooMuchPowerOnEnumeration, //9 |
|
36 EUsbWatcherCanNotStartUsbServices, //10 |
|
37 EUsbWatcherIdPinError, |
|
38 EUsbWatcherVBusObserverError, |
|
39 EUsbWatcherHostEventNotificationError, |
|
40 EUsbWatcherOtgStateError, |
|
41 EUsbWatcherMessageNotificationError |
|
42 |
|
43 }; |
|
44 |
|
45 #endif // ERRRORS_H |