|
1 |
|
2 /* |
|
3 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
4 * All rights reserved. |
|
5 * This component and the accompanying materials are made available |
|
6 * under the terms of "Eclipse Public License v1.0" |
|
7 * which accompanies this distribution, and is available |
|
8 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 * |
|
10 * Initial Contributors: |
|
11 * Nokia Corporation - initial contribution. |
|
12 * |
|
13 * Contributors: |
|
14 * |
|
15 * Description: |
|
16 * Universal Serial Bus Interface Manager Resources |
|
17 * |
|
18 */ |
|
19 |
|
20 #ifndef __USBMANRSC_IBY__ |
|
21 #define __USBMANRSC_IBY__ |
|
22 |
|
23 |
|
24 // *** Only include resource files if device supports USB |
|
25 #if defined(SYMBIAN_EXCLUDE_USB) || !defined(EUSBC) |
|
26 REM Feature USB is not included in this ROM (usbman.iby) |
|
27 #else |
|
28 |
|
29 DEFINE __USBMAN_RSC_ZPATH__ ZPRIVATE\101fe1db |
|
30 DEFINE __USBMAN_RSC_PATH__ PRIVATE\101fe1db |
|
31 |
|
32 |
|
33 #ifdef __TEST_USB_ZLP__ |
|
34 // *** use the ZLP-configured resource file (PID and VID for the ACM CC are different) |
|
35 data=__USBMAN_RSC_ZPATH__\usbmanzlp.rsc __USBMAN_RSC_PATH__\usbman.rsc |
|
36 #else //__TEST_USB_ZLP__ |
|
37 |
|
38 #ifdef __EXAMPLE_OBEX_CC__ |
|
39 // *** 'buildrom -D__EXAMPLE_OBEX_CC__' will use example Obex class controller |
|
40 // *** The RSC file that was created when building the example source |
|
41 data=__USBMAN_RSC_ZPATH__\obexusbman.rsc __USBMAN_RSC_PATH__\usbman.rsc |
|
42 #else //__EXAMPLE_OBEX_CC__ |
|
43 // *** This is the normal resource file.. |
|
44 #ifndef USB_EXCLUDE_DEFAULT_PERSONALITIES |
|
45 #ifdef SYMBIAN_EXCLUDE_MTP |
|
46 #ifdef SYMBIAN_INCLUDE_USB_RNDIS |
|
47 // *** Normal resource file including RNDIS support but excluding MTP |
|
48 data=__USBMAN_RSC_ZPATH__\usbmanrndis.rsc __USBMAN_RSC_PATH__\usbman.rsc |
|
49 #else |
|
50 // *** Normal resource file excluding MTP and RNDIS support |
|
51 data=__USBMAN_RSC_ZPATH__\usbman.rsc __USBMAN_RSC_PATH__\usbman.rsc |
|
52 #endif // SYMBIAN_INCLUDE_USB_RNDIS |
|
53 #else // SYMBIAN_EXCLUDE_MTP |
|
54 #ifdef SYMBIAN_INCLUDE_USB_RNDIS |
|
55 // *** Normal resource file including RNDIS and MTP support |
|
56 data=__USBMAN_RSC_ZPATH__\usbmanmtprndis.rsc __USBMAN_RSC_PATH__\usbman.rsc |
|
57 #else |
|
58 // *** Normal resource file including MTP support but excluding RNDIS |
|
59 data=__USBMAN_RSC_ZPATH__\usbmanmtp.rsc __USBMAN_RSC_PATH__\usbman.rsc |
|
60 #endif // SYMBIAN_INCLUDE_USB_RNDIS |
|
61 #endif // SYMBIAN_EXCLUDE_MTP |
|
62 #endif // USB_EXCLUDE_DEFAULT_PERSONALITIES |
|
63 #endif //__EXAMPLE_OBEX_CC__ |
|
64 #endif //__TEST_USB_ZLP__ |
|
65 |
|
66 #endif // SYMBIAN_EXCLUDE_USB |
|
67 |
|
68 #endif // __USBMANRSC_IBY__ |