VirtualBox

Changeset 35251 in vbox


Ignore:
Timestamp:
Dec 20, 2010 4:40:32 PM (14 years ago)
Author:
vboxsync
Message:

Main: convert MediumVariant uses into unsigned long for the 4.0 API to make them callable from web service clients (SOAP enums do not know numerical values behind enums)

File:
1 edited

Legend:

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

    r35250 r35251  
    89518951  <interface
    89528952    name="IMedium" extends="$unknown"
    8953     uuid="bfcf5b8c-5155-4f24-9414-9457054b16db"
     8953    uuid="9edda847-1279-4b0a-9af7-9d66251ccc18"
    89548954    wsmap="managed"
    89558955    >
     
    93349334    </attribute>
    93359335
    9336     <attribute name="variant" type="MediumVariant" readonly="yes">
    9337       <desc>
    9338         Returns the storage format variant information for this medium.
     9336    <attribute name="variant" type="unsigned long" readonly="yes">
     9337      <desc>
     9338        Returns the storage format variant information for this medium
     9339        as a combination of the flags described at <link to="MediumVariant" />.
    93399340        Before <link to="#refreshState"/> is called this method returns
    93409341        an undefined value.
     
    1003710038        <desc>Maximum logical size of the medium in bytes.</desc>
    1003810039      </param>
    10039       <param name="variant" type="MediumVariant" dir="in">
    10040         <desc>Exact image variant which should be created.</desc>
     10040      <param name="variant" type="unsigned long" dir="in">
     10041        <desc>Exact image variant which should be created (as a combination of
     10042          <link to="MediumVariant" /> flags).</desc>
    1004110043      </param>
    1004210044      <param name="progress" type="IProgress" dir="return">
     
    1011910121        <desc>Target medium.</desc>
    1012010122      </param>
    10121       <param name="variant" type="MediumVariant" dir="in">
    10122         <desc>Exact image variant which should be created.</desc>
     10123      <param name="variant" type="unsigned long" dir="in">
     10124        <desc>Exact image variant which should be created (as a combination of
     10125          <link to="MediumVariant" /> flags).</desc>
    1012310126      </param>
    1012410127      <param name="progress" type="IProgress" dir="return">
     
    1024610249        <desc>Target medium.</desc>
    1024710250      </param>
    10248       <param name="variant" type="MediumVariant" dir="in">
    10249         <desc>Exact image variant which should be created.</desc>
     10251      <param name="variant" type="unsigned long" dir="in">
     10252        <desc>Exact image variant which should be created (as a combination of
     10253          <link to="MediumVariant" /> flags).</desc>
    1025010254      </param>
    1025110255      <param name="parent" type="IMedium" dir="in">
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