VirtualBox

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


Ignore:
Timestamp:
May 27, 2009 12:55:11 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
47823
Message:

Main: initial code for upload to cloud (second try)

File:
1 edited

Legend:

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

    r20045 r20081  
    28902890    </method>
    28912891
     2892  </interface>
     2893
     2894  <!--
     2895  // IVFSExplorer
     2896  /////////////////////////////////////////////////////////////////////////
     2897  -->
     2898
     2899  <enum
     2900    name="VFSType"
     2901    uuid="813999ba-b949-48a8-9230-aadc6285e2f2"
     2902  >
     2903    <desc>
     2904      Supported virtual file systems of VFSExplorer.
     2905    </desc>
     2906
     2907    <const name="File" value="1" />
     2908    <const name="Cloud" value="2" />
     2909    <const name="S3" value="3" />
     2910    <const name="WebDav" value="4" />
     2911  </enum>
     2912
     2913  <enum
     2914    name="VFSFileType"
     2915    uuid="714333cd-44e2-415f-a245-d378fa9b1242"
     2916  >
     2917    <desc>
     2918      File types known by VFSExplorer.
     2919    </desc>
     2920
     2921    <const name="Unknown" value="1" />
     2922    <const name="Fifo" value="2" />
     2923    <const name="DevChar" value="3" />
     2924    <const name="Directory" value="4" />
     2925    <const name="DevBlock" value="5" />
     2926    <const name="File" value="6" />
     2927    <const name="SymLink" value="7" />
     2928    <const name="Socket" value="8" />
     2929    <const name="WhiteOut" value="9" />
     2930  </enum>
     2931
     2932  <interface
     2933     name="IVFSExplorer" extends="$unknown"
     2934     uuid="fd7da337-80ef-4a5c-9122-918435e33003"
     2935     wsmap="managed"
     2936     >
     2937    <desc>
     2938      The VFSExplorer interface unify the access to different file system
     2939      types. This includes local file systems as well remote file systems like
     2940      the S3 one. For a list of supported types see <link to="VFSType" />.
     2941    </desc>
     2942
     2943    <attribute name="path" type="wstring" readonly="yes">
     2944      <desc>Return the current path in the virtual file system.</desc>
     2945    </attribute>
     2946
     2947    <attribute name="type" type="VFSType" readonly="yes">
     2948      <desc>Return the file system type which is currently in use.</desc>
     2949    </attribute>
     2950
     2951    <method name="update">
     2952      <desc>This method updates the internal list of files/directories from the
     2953      current directory level. Use <link to="entryList" /> to get the full list
     2954      after a call to this method.</desc>
     2955
     2956      <param name="aProgress" type="IProgress" dir="return">
     2957        <desc>Progress object to track the operation completion.</desc>
     2958      </param>
     2959    </method>
     2960
     2961    <method name="entryList">
     2962      <desc>Fetch the list of files/directories after a call to <link
     2963      to="update" />. The user is responcible for keeping this internal list up
     2964      do date.</desc>
     2965
     2966      <param name="aNames" type="wstring" safearray="yes" dir="out">
     2967        <desc>The list of names for the entries.</desc>
     2968      </param>
     2969
     2970      <param name="aTypes" type="unsigned long" safearray="yes" dir="out">
     2971        <desc>The list of types for the entries.</desc>
     2972      </param>
     2973    </method>
     2974
     2975    <method name="exists">
     2976        <desc>Check if the given file list exists in the current directory
     2977        level.</desc>
     2978
     2979      <param name="aNames" type="wstring" safearray="yes" dir="in">
     2980        <desc>The names to check.</desc>
     2981      </param>
     2982
     2983      <param name="aExists" type="wstring" safearray="yes" dir="return">
     2984        <desc>The names which exists.</desc>
     2985      </param>
     2986    </method>
     2987
     2988    <method name="remove">
     2989        <desc>Remove the given file names from the current directory
     2990        level.</desc>
     2991
     2992      <param name="aNames" type="wstring" safearray="yes" dir="in">
     2993        <desc>The names to remove.</desc>
     2994      </param>
     2995
     2996      <param name="aProgress" type="IProgress" dir="return">
     2997        <desc>Progress object to track the operation completion.</desc>
     2998      </param>
     2999    </method>
     3000   
    28923001  </interface>
    28933002
     
    30433152  <interface
    30443153     name="IAppliance" extends="$unknown"
    3045      uuid="30bfa6b8-9eda-4b0a-b218-a86813248ccd"
     3154     uuid="07495095-d16c-4911-8964-5914341ced5d"
    30463155     wsmap="managed"
    30473156     >
     
    32293338    </method>
    32303339
     3340    <method name="createVFSExplorer">
     3341      <desc>Returns a <link to="IVFSExplorer" /> object for the given URI.</desc>
     3342
     3343      <param name="aUri" type="wstring" dir="in">
     3344        <desc>The URI describing the file system to use.</desc>
     3345      </param>
     3346
     3347      <param name="aExplorer" type="IVFSExplorer" dir="return">
     3348        <desc></desc>
     3349      </param>
     3350    </method>
     3351
    32313352    <method name="write">
    32323353      <desc>
     
    32533374      </param>
    32543375      <param name="aProgress" type="IProgress" dir="return">
    3255           <desc></desc>
     3376        <desc>Progress object to track the operation completion.</desc>
    32563377      </param>
    32573378    </method>
Note: See TracChangeset for help on using the changeset viewer.

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