equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2003-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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __USBERRORS_H__ |
|
19 #define __USBERRORS_H__ |
|
20 |
|
21 #include <e32def.h> |
|
22 |
|
23 /** @file |
|
24 Errors used by the USB Manager. |
|
25 */ |
|
26 |
|
27 /** KErrUsbBase |
|
28 |
|
29 Not used as an error. 'Base' value for USB Manager errors. |
|
30 Numerical value: -6600. |
|
31 |
|
32 @publishedPartner |
|
33 @released |
|
34 */ |
|
35 const TInt KErrUsbBase = (-6600); |
|
36 |
|
37 /** KErrUsbServiceStopped |
|
38 |
|
39 Used to complete an RUsb::Start request when the service ends up Idle |
|
40 because another client did an RUsb::Stop. |
|
41 Numerical value: -6601 |
|
42 |
|
43 @publishedPartner |
|
44 @released |
|
45 */ |
|
46 const TInt KErrUsbServiceStopped = (KErrUsbBase-1); // -6601 |
|
47 |
|
48 /** KErrUsbServiceStarted |
|
49 |
|
50 Used to complete an RUsb::Stop request when the service ends up Started |
|
51 because another client did an RUsb::Start. |
|
52 Numerical value: -6602 |
|
53 |
|
54 @publishedPartner |
|
55 @released |
|
56 */ |
|
57 const TInt KErrUsbServiceStarted = (KErrUsbBase-2); // -6602 |
|
58 |
|
59 #endif //__USBERRORS_H__ |