VirtualBox

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


Ignore:
Timestamp:
Mar 18, 2016 10:51:02 AM (9 years ago)
Author:
vboxsync
Message:

Main,VBoxManage: Add API to IHost for adding and removing USB device sources in addition to the default host one (only USB/IP backend supported so far which will be used in the future for automatic USB testing). Add support for it in VBoxManage

File:
1 edited

Legend:

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

    r60068 r60089  
    86008600    uuid="afca788c-4477-787d-60b2-3fa70e56fbbc"
    86018601    wsmap="managed"
    8602     reservedMethods="2" reservedAttributes="12"
     8602    reservedMethods="0" reservedAttributes="12"
    86038603    >
    86048604    <desc>
     
    90629062      <desc>List of currently available host video capture devices.</desc>
    90639063    </attribute>
     9064
     9065    <method name="addUSBDeviceSource">
     9066      <desc>
     9067        Adds a new USB device source.
     9068      </desc>
     9069      <param name="backend" type="wstring" dir="in">
     9070        <desc>The backend to use as the new device source.</desc>
     9071      </param>
     9072      <param name="id" type="wstring" dir="in">
     9073        <desc>Unique ID to identify the source.</desc>
     9074      </param>
     9075      <param name="address" type="wstring" dir="in">
     9076        <desc>
     9077          Address to use, the format is dependent on the backend.
     9078          For USB/IP backends for example the notation is host[:port].
     9079        </desc>
     9080      </param>
     9081      <param name="propertyNames" type="wstring" safearray="yes" dir="in">
     9082        <desc>Array of property names for more detailed configuration. Not used at the moment.</desc>
     9083      </param>
     9084      <param name="propertyValues" type="wstring" safearray="yes" dir="in">
     9085        <desc>Array of property values for more detailed configuration. Not used at the moment.</desc>
     9086      </param>
     9087    </method>
     9088
     9089    <method name="removeUSBDeviceSource">
     9090      <desc>
     9091        Removes a previously added USB device source.
     9092      </desc>
     9093      <param name="id" type="wstring" dir="in">
     9094        <desc>The identifier used when the source was added.</desc>
     9095      </param>
     9096    </method>
    90649097
    90659098  </interface>
     
    1846018493        Action performed by the host when an attached USB device
    1846118494        matches this filter.
     18495      </desc>
     18496    </attribute>
     18497
     18498  </interface>
     18499
     18500
     18501  <!--
     18502  // IUSBProxyBackend
     18503  /////////////////////////////////////////////////////////////////////////
     18504  -->
     18505
     18506  <interface
     18507    name="IUSBProxyBackend" extends="$unknown"
     18508    uuid="dfe56449-6989-4002-80cf-3607f377d40c"
     18509    wsmap="managed"
     18510    reservedMethods="4" reservedAttributes="8"
     18511    >
     18512    <desc>
     18513      The USBProxyBackend interface represents a source for USB devices available
     18514      to the host for attaching to the VM.
     18515    </desc>
     18516
     18517    <attribute name="name" type="wstring" readonly="yes">
     18518      <desc>
     18519        The unique name of the proxy backend.
     18520      </desc>
     18521    </attribute>
     18522
     18523    <attribute name="type" type="wstring" readonly="yes">
     18524      <desc>
     18525        The type of the backend.
    1846218526      </desc>
    1846318527    </attribute>
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