usbmgmt/usbmgr/group/Usbmanbin.iby
branchRCL_3
changeset 8 96e575696901
parent 0 c9bc50fca66e
child 16 7f84d52cdf22
equal deleted inserted replaced
7:c2db6e29750c 8:96e575696901
     1 
       
     2 
       
     3 /*
     1 /*
     4 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     5 * All rights reserved.
     3 * All rights reserved.
     6 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     7 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
    29 #else
    27 #else
    30 define USB_DIR BUILD_DIR
    28 define USB_DIR BUILD_DIR
    31 #define USB_PLUGIN ECOM_PLUGIN
    29 #define USB_PLUGIN ECOM_PLUGIN
    32 #endif
    30 #endif
    33 
    31 
       
    32 
    34 // *** Check we have been given a sensible set of buildrom options
    33 // *** Check we have been given a sensible set of buildrom options
    35 #if defined (__OBEX_OVER_USB__) && (defined (__TEST_USB_ZLP__) || defined (__USBMAN_DUMMYCC__))
    34 #if defined (__OBEX_OVER_USB__) && (defined (__TEST_USB_ZLP__) || defined (__USBMAN_DUMMYCC__))
    36 #error Defining both OBEX over USB _and_ Zero Length Packet testing or dummy class controllers does not make sense.
    35 #error Defining both OBEX over USB _and_ Zero Length Packet testing or dummy class controllers does not make sense.
    37 #endif
    36 #endif
    38 
    37 
    57 // *** Now for things which should only be included if the device supports
    56 // *** Now for things which should only be included if the device supports
    58 // *** USB, to save ROM space...
    57 // *** USB, to save ROM space...
    59 #if defined(SYMBIAN_EXCLUDE_USB) || !defined(EUSBC)
    58 #if defined(SYMBIAN_EXCLUDE_USB) || !defined(EUSBC)
    60 REM Feature USB is not included in this ROM (usbman.iby)
    59 REM Feature USB is not included in this ROM (usbman.iby)
    61 #else
    60 #else
       
    61 
       
    62 #include <usbacm.iby>
    62 
    63 
    63 #ifndef __OBEX_OVER_USB__
    64 #ifndef __OBEX_OVER_USB__
    64   #ifndef __TEST_USB_ZLP__
    65   #ifndef __TEST_USB_ZLP__
    65     #ifdef __EXAMPLE_OBEX_CC__
    66     #ifdef __EXAMPLE_OBEX_CC__
    66       // *** OBEX Class Controller plugin. 
    67       // *** OBEX Class Controller plugin. 
   111 #endif
   112 #endif
   112 
   113 
   113 file=ABI_DIR\USB_DIR\usbclasscontroller.dll		usbclasscontroller.dll
   114 file=ABI_DIR\USB_DIR\usbclasscontroller.dll		usbclasscontroller.dll
   114 file=ABI_DIR\USB_DIR\usbmanextensionplugin.dll		usbmanextensionplugin.dll
   115 file=ABI_DIR\USB_DIR\usbmanextensionplugin.dll		usbmanextensionplugin.dll
   115 
   116 
   116 // *** Abstract Control Model (serial emulation) Class Controller.
       
   117 #ifdef __ACM_REGPORT__
       
   118 USB_PLUGIN(t_regport_acmclasscontroller.dll,101fbf20.rsc)
       
   119 #else
       
   120 USB_PLUGIN(acmclasscontroller.dll,101fbf20.rsc)
       
   121 #endif
       
   122 
       
   123 #ifdef WITH_REFERENCE_USB_CHARGING_PLUGIN
   117 #ifdef WITH_REFERENCE_USB_CHARGING_PLUGIN
   124 // *** Reference battery charging plug-in
   118 // *** Reference battery charging plug-in
   125 #if defined(SYMBIAN_ENABLE_USB_OTG_HOST) && defined (SYMBIAN_INCLUDE_USB_OTG_HOST)
   119 #if defined(SYMBIAN_ENABLE_USB_OTG_HOST) && defined (SYMBIAN_INCLUDE_USB_OTG_HOST)
   126 USB_PLUGIN(usbbatterychargingpluginotg.dll,usbbatterychargingpluginotg.rsc)
   120 USB_PLUGIN(usbbatterychargingpluginotg.dll,usbbatterychargingpluginotg.rsc)
   127 #else
   121 #else
   128 USB_PLUGIN(usbbatterychargingplugin.dll,usbbatterychargingplugin.rsc)
   122 USB_PLUGIN(usbbatterychargingplugin.dll,usbbatterychargingplugin.rsc)
   129 #endif
   123 #endif
   130 #endif
   124 #endif
   131 
       
   132 file=ABI_DIR\USB_DIR\acmserver.dll		acmserver.dll
       
   133 
   125 
   134 // *** WHCM Class Controller - used for OBEX over USB.
   126 // *** WHCM Class Controller - used for OBEX over USB.
   135 USB_PLUGIN(whcmclasscontroller.dll,101fbf23.rsc)
   127 USB_PLUGIN(whcmclasscontroller.dll,101fbf23.rsc)
   136 
   128 
   137 // *** Mass Storage Class Controller.
   129 // *** Mass Storage Class Controller.
   142 #endif
   134 #endif
   143 
   135 
   144 // *** OBEX Class Controller. This is test code, used for descriptor checking
   136 // *** OBEX Class Controller. This is test code, used for descriptor checking
   145 // *** only.
   137 // *** only.
   146 // USB_PLUGIN(Obexclasscontroller.dll,101fbf27.rsc)
   138 // USB_PLUGIN(Obexclasscontroller.dll,101fbf27.rsc)
   147 
       
   148 // *** Uncomment the following file and modify if the number or type of ACM 
       
   149 // *** Functions required is different from the default
       
   150 // data=ZPRIVATE\101fe1db\NumberOfAcmFunctions.ini	private\101fe1db\NumberOfAcmFunctions.ini
       
   151 
   139 
   152 #ifdef SYMBIAN_INCLUDE_USB_RNDIS
   140 #ifdef SYMBIAN_INCLUDE_USB_RNDIS
   153 // *** RNDIS Class Controller.
   141 // *** RNDIS Class Controller.
   154 
   142 
   155 #include <ether802.iby>
   143 #include <ether802.iby>