VirtualBox

Changeset 17553 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Mar 9, 2009 9:34:22 AM (16 years ago)
Author:
vboxsync
Message:

#3551: “Main: Replace remaining collections with safe arrays”
Replaced IUSBDeviceCollection. Reviewed by Christian.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r17419 r17553  
    55685568  <interface
    55695569     name="IConsole" extends="$unknown"
    5570      uuid="e3c6d4a1-a935-47ca-b16d-f9e9c496e53e"
     5570     uuid="3d458cf1-d8aa-4593-84db-41de9e7242d8"
    55715571     wsmap="managed"
    55725572     >
     
    56505650    </attribute>
    56515651
    5652     <attribute name="USBDevices" type="IUSBDeviceCollection" readonly="yes">
     5652    <attribute name="USBDevices" type="IUSBDevice" readonly="yes" safearray="yes">
    56535653      <desc>
    56545654        Collection of USB devices currently attached to the virtual
     
    60206020      <param name="device" type="IUSBDevice" dir="return">
    60216021        <desc>Detached USB device.</desc>
     6022      </param>
     6023    </method>
     6024
     6025    <method name="findUSBDeviceByAddress">
     6026      <desc>
     6027        Searches for a USB device with the given host address.
     6028
     6029        <result name="VBOX_E_OBJECT_NOT_FOUND">
     6030          Given @c name does not correspond to any USB device.
     6031        </result>
     6032
     6033        <see>IUSBDevice::address</see>
     6034      </desc>
     6035      <param name="name" type="wstring" dir="in">
     6036        <desc>
     6037          Address of the USB device (as assigned by the host) to
     6038          search for.
     6039        </desc>
     6040      </param>
     6041      <param name="device" type="IUSBDevice" dir="return">
     6042        <desc>Found USB device object.</desc>
     6043      </param>
     6044    </method>
     6045
     6046    <method name="findUSBDeviceById">
     6047      <desc>
     6048        Searches for a USB device with the given UUID.
     6049
     6050        <result name="VBOX_E_OBJECT_NOT_FOUND">
     6051          Given @c id does not correspond to any USB device.
     6052        </result>
     6053
     6054        <see>IUSBDevice::id</see>
     6055      </desc>
     6056      <param name="id" type="uuid" dir="in">
     6057        <desc>UUID of the USB device to search for.</desc>
     6058      </param>
     6059      <param name="device" type="IUSBDevice" dir="return">
     6060        <desc>Found USB device object.</desc>
    60226061      </param>
    60236062    </method>
     
    1099811037  -->
    1099911038
    11000   <enumerator
    11001      name="IUSBDeviceEnumerator" type="IUSBDevice"
    11002      uuid="aefe00f7-eb8a-454b-9ea4-fd5ad93c0e99"
    11003      />
    11004 
    11005   <collection
    11006      name="IUSBDeviceCollection" type="IUSBDevice"
    11007      enumerator="IUSBDeviceEnumerator"
    11008      uuid="e31f3248-90dd-4ca2-95f0-6b36042d96a2"
    11009      readonly="yes"
    11010      >
    11011     <method name="findById">
    11012       <desc>
    11013         Searches this collection for a USB device with the given UUID.
    11014         <note>
    11015           The method returns an error if the given UUID does not
    11016           correspond to any USB device in the collection.
    11017         </note>
    11018         <see>IUSBDevice::id</see>
    11019       </desc>
    11020       <param name="id" type="uuid" dir="in">
    11021         <desc>UUID of the USB device to search for.</desc>
    11022       </param>
    11023       <param name="device" type="IUSBDevice" dir="return">
    11024         <desc>Found USB device object.</desc>
    11025       </param>
    11026     </method>
    11027 
    11028     <method name="findByAddress">
    11029       <desc>
    11030         Searches this collection for a USB device with the given
    11031         host address.
    11032         <note>
    11033           The method returns an error if the given address does not
    11034           correspond to any USB device in the collection.
    11035         </note>
    11036         <see>IUSBDevice::address</see>
    11037       </desc>
    11038       <param name="name" type="wstring" dir="in">
    11039         <desc>
    11040           Address of the USB device (as assigned by the host) to
    11041           search for.
    11042         </desc>
    11043       </param>
    11044       <param name="device" type="IUSBDevice" dir="return">
    11045         <desc>Found USB device object.</desc>
    11046       </param>
    11047     </method>
    11048 
    11049   </collection>
    11050 
    1105111039  <interface
    1105211040     name="IUSBDevice" extends="$unknown"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette