VirtualBox

Changeset 75605 in vbox for trunk/src


Ignore:
Timestamp:
Nov 20, 2018 10:04:56 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126779
Message:

Guest Control/Main: Implemented stub for IGuestSession::fsObjRemoveArray().

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

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

    r75569 r75605  
    1223612236  <interface
    1223712237    name="IGuestSession" extends="$unknown"
    12238     uuid="07241827-f602-48c8-8511-4d933f3cf0bb"
     12238    uuid="47E24147-1DA3-4BEB-BF3C-7B73ADA53192"
    1223912239    wsmap="managed"
    1224012240    reservedMethods="8" reservedAttributes="8"
     
    1318213182      <param name="path" type="wstring" dir="in">
    1318313183        <desc>Path to the file system object to remove.  Guest style path.</desc>
     13184      </param>
     13185    </method>
     13186
     13187    <method name="fsObjRemoveArray">
     13188      <desc>
     13189        Removes multiple file system objects (files, directories, symlinks, etc)
     13190        in the guest. Use with caution.
     13191
     13192        <note>This method is not implemented yet and will return E_NOTIMPL.</note>
     13193
     13194        <note>This method will remove symbolic links in the final path
     13195          component, not follow them.</note>
     13196
     13197        <result name="E_NOTIMPL">
     13198          The method has not been implemented yet.
     13199        </result>
     13200      </desc>
     13201      <param name="path" type="wstring" dir="in" safearray="yes">
     13202        <desc>Array of paths to the file system objects to remove.  Guest style path.</desc>
     13203      </param>
     13204      <param name="progress" type="IProgress" dir="return">
     13205        <desc>Progress object to track the operation to completion.</desc>
    1318413206      </param>
    1318513207    </method>
  • trunk/src/VBox/Main/include/GuestSessionImpl.h

    r74734 r75605  
    173173                           ComPtr<IGuestFsObjInfo> &aInfo);
    174174    HRESULT fsObjRemove(const com::Utf8Str &aPath);
     175    HRESULT fsObjRemoveArray(const std::vector<com::Utf8Str> &aPaths,
     176                             ComPtr<IProgress> &aProgress);
    175177    HRESULT fsObjRename(const com::Utf8Str &aOldPath,
    176178                        const com::Utf8Str &aNewPath,
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r74953 r75605  
    38613861}
    38623862
     3863HRESULT GuestSession::fsObjRemoveArray(const std::vector<com::Utf8Str> &aPaths, ComPtr<IProgress> &aProgress)
     3864{
     3865    AutoCaller autoCaller(this);
     3866    if (FAILED(autoCaller.rc())) return autoCaller.rc();
     3867
     3868    RT_NOREF(aPaths, aProgress);
     3869
     3870    return E_NOTIMPL;
     3871}
     3872
    38633873HRESULT GuestSession::fsObjRename(const com::Utf8Str &aSource,
    38643874                                  const com::Utf8Str &aDestination,
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