VirtualBox

Ignore:
Timestamp:
Jul 7, 2018 9:27:53 PM (6 years ago)
Author:
vboxsync
Message:

Main/GuestCtrl: Move the guest additions update code from RTIsoFs* to the appropriate RTVfs* APIs (not tested because of bugref:8078)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestSessionImplTasks.h

    r72067 r72958  
    2626#include "ThreadTask.h"
    2727
    28 #include <iprt/isofs.h> /* For UpdateAdditions. */
    29 #include <iprt/fs.h> /* For PCRTFSOBJINFO. */
     28#include <iprt/vfs.h>
    3029
    3130#include <vector>
     
    196195                               uint64_t offCopy, uint64_t cbSize);
    197196    int fileCopyFromGuest(const Utf8Str &strSource, const Utf8Str &strDest, FileCopyFlag_T fFileCopyFlags);
    198     int fileCopyToGuestInner(PRTFILE phSrcFile, ComObjPtr<GuestFile> &dstFile, FileCopyFlag_T fFileCopyFlags,
     197    int fileCopyToGuestInner(RTVFSFILE hSrcFile, ComObjPtr<GuestFile> &dstFile, FileCopyFlag_T fFileCopyFlags,
    199198                             uint64_t offCopy, uint64_t cbSize);
    200199
     
    364363
    365364    int addProcessArguments(ProcessArguments &aArgumentsDest, const ProcessArguments &aArgumentsSource);
    366     int copyFileToGuest(GuestSession *pSession, PRTISOFSFILE pISO, Utf8Str const &strFileSource, const Utf8Str &strFileDest, bool fOptional);
     365    int copyFileToGuest(GuestSession *pSession, RTVFS hVfsIso, Utf8Str const &strFileSource, const Utf8Str &strFileDest, bool fOptional);
    367366    int runFileOnGuest(GuestSession *pSession, GuestProcessStartupInfo &procInfo);
    368367
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