VirtualBox

Ignore:
Timestamp:
Apr 30, 2018 10:27:37 AM (7 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Made IGuestSession::copyFromGuest() and IGuestSession::copyToGuest() more compatible by using a string array for the file / directory copy flags.

File:
1 edited

Legend:

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

    r72053 r72067  
    1114511145
    1114611146  <enum
    11147     name="GuestCopyFlag"
    11148     uuid="84d6430f-dfe6-4415-a26d-3cdde1c3205a"
    11149     >
    11150     <desc>
    11151       Flags for use when copying elements from or to the guest, see
    11152       <link to="IGuestSession::copyFromGuest"/> and
    11153       <link to="IGuestSession::copyToGuest"/>.
    11154     </desc>
    11155 
    11156     <const name="NoReplace"             value="0">
    11157       <desc>Do not replace any destination object.</desc>
    11158     </const>
    11159     <const name="Replace"               value="1">
    11160       <desc>This will attempt to replace any destination object other except
    11161         directories. (The default is to fail if the destination exists.)</desc>
    11162     </const>
    11163     <const name="CopyIntoExisting"      value="2">
    11164       <desc>Allow copying into an existing destination directory.</desc>
    11165     </const>
    11166     <const name="Recursive"             value="4">
    11167       <desc>Copies directories recursively.</desc>
    11168     </const>
    11169     <const name="FollowSymlinks"        value="8">
    11170       <desc>Follows (and handles) symbolic links.</desc>
    11171     </const>
    11172   </enum>
    11173 
    11174   <enum
    1117511147    name="ProcessCreateFlag"
    1117611148    uuid="C544CD2B-F02D-4886-9901-71C523DB8DC5"
     
    1189811870  <interface
    1189911871    name="IGuestSession" extends="$unknown"
    11900     uuid="a71fcf9a-a45e-440a-886a-5b4c664195ef"
     11872    uuid="9880f6e3-c4c1-4031-8ec2-28ee088370e4"
    1190111873    wsmap="managed"
    1190211874    reservedMethods="8" reservedAttributes="8"
     
    1207412046      </param>
    1207512047      <param name="filters" type="wstring" dir="in" safearray="yes">
    12076         <desc>Array of filters corresponding to the sources. This uses the
     12048        <desc>Array of source filters. This uses the
    1207712049          DOS/NT style wildcard characters '?' and '*'.</desc>
    1207812050      </param>
    1207912051      <param name="types" type="FsObjType" dir="in" safearray="yes">
    12080         <desc>Array of <link to="FsObjType"/> types which define the type of
    12081           source entries.</desc>
    12082       </param>
    12083       <param name="flags" type="GuestCopyFlag" dir="in" safearray="yes">
    12084         <desc>Array of <link to="GuestCopyFlag"/> flags corresponding to the
    12085           sources.</desc>
     12052        <desc>Array of source <link to="FsObjType"/> types.</desc>
     12053      </param>
     12054      <param name="flags" type="wstring" dir="in" safearray="yes">
     12055        <desc>Array of comma-separated list of source flags.
     12056
     12057          The following flags are available for directory sources:
     12058
     12059          <table>
     12060            <tr>
     12061              <td>CopyIntoExisting</td>
     12062              <td>Allow copying into an existing destination directory.</td>
     12063            </tr>
     12064          </table>
     12065
     12066          The following flags are available for file sources:
     12067
     12068          <table>
     12069            <tr>
     12070              <td>NoReplace</td>
     12071              <td>Do not replace any destination object.</td>
     12072            </tr>
     12073            <tr>
     12074              <td>FollowLinks</td>
     12075              <td>Follows (and handles) (symbolic) links.</td>
     12076            </tr>
     12077            <tr>
     12078              <td>Update</td>
     12079              <td>Only copy when the source file is newer than the destination
     12080               file or when the destination file is missing.</td>
     12081            </tr>
     12082          </table>
     12083
     12084        </desc>
    1208612085      </param>
    1208712086      <param name="destination" type="wstring" dir="in">
     
    1210512104      </param>
    1210612105      <param name="filters" type="wstring" dir="in" safearray="yes">
    12107         <desc>Array of filters corresponding to the sources. This uses the
     12106        <desc>Array of source filters. This uses the
    1210812107          DOS/NT style wildcard characters '?' and '*'.</desc>
    1210912108      </param>
    1211012109      <param name="types" type="FsObjType" dir="in" safearray="yes">
    12111         <desc>Array of <link to="FsObjType"/> types which define the type of
    12112           source entries.</desc>
    12113       </param>
    12114       <param name="flags" type="GuestCopyFlag" dir="in" safearray="yes">
    12115         <desc>Array of <link to="GuestCopyFlag"/> flags corresponding to the
    12116           sources.</desc>
     12110        <desc>Array of source <link to="FsObjType"/> types.</desc>
     12111      </param>
     12112      <param name="flags" type="wstring" dir="in" safearray="yes">
     12113        <desc>Array of comma-separated list of source flags.
     12114
     12115          The following flags are available for directory sources:
     12116
     12117          <table>
     12118            <tr>
     12119              <td>CopyIntoExisting</td>
     12120              <td>Allow copying into an existing destination directory.</td>
     12121            </tr>
     12122          </table>
     12123
     12124          The following flags are available for file sources:
     12125
     12126          <table>
     12127            <tr>
     12128              <td>NoReplace</td>
     12129              <td>Do not replace any destination object.</td>
     12130            </tr>
     12131            <tr>
     12132              <td>FollowLinks</td>
     12133              <td>Follows (and handles) (symbolic) links.</td>
     12134            </tr>
     12135            <tr>
     12136              <td>Update</td>
     12137              <td>Only copy when the source file is newer than the destination
     12138               file or when the destination file is missing.</td>
     12139            </tr>
     12140          </table>
     12141
     12142        </desc>
    1211712143      </param>
    1211812144      <param name="destination" type="wstring" 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