Changeset 71231 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Mar 6, 2018 10:08:58 AM (7 years ago)
- Location:
- trunk/src/VBox/Main/src-client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r71221 r71231 2591 2591 2592 2592 HRESULT GuestSession::directoryCopy(const com::Utf8Str &aSource, const com::Utf8Str &aDestination, 2593 const std::vector<DirectoryCopyFlag s_T> &aFlags, ComPtr<IProgress> &aProgress)2593 const std::vector<DirectoryCopyFlag_T> &aFlags, ComPtr<IProgress> &aProgress) 2594 2594 { 2595 2595 RT_NOREF(aSource, aDestination, aFlags, aProgress); … … 2598 2598 2599 2599 HRESULT GuestSession::directoryCopyFromGuest(const com::Utf8Str &aSource, const com::Utf8Str &aDestination, 2600 const std::vector<DirectoryCopyFlag s_T> &aFlags, ComPtr<IProgress> &aProgress)2600 const std::vector<DirectoryCopyFlag_T> &aFlags, ComPtr<IProgress> &aProgress) 2601 2601 { 2602 2602 RT_NOREF(aSource, aDestination, aFlags, aProgress); … … 2605 2605 2606 2606 HRESULT GuestSession::directoryCopyToGuest(const com::Utf8Str &aSource, const com::Utf8Str &aDestination, 2607 const std::vector<DirectoryCopyFlag s_T> &aFlags, ComPtr<IProgress> &aProgress)2607 const std::vector<DirectoryCopyFlag_T> &aFlags, ComPtr<IProgress> &aProgress) 2608 2608 { 2609 2609 LogFlowThisFuncEnter(); … … 2618 2618 return setError(E_INVALIDARG, tr("Source directory \"%s\" does not exist"), aSource.c_str()); 2619 2619 2620 uint32_t fFlags = DirectoryCopyFlag s_None;2620 uint32_t fFlags = DirectoryCopyFlag_None; 2621 2621 if (aFlags.size()) 2622 2622 { … … 3131 3131 { 3132 3132 LogFlowThisFuncEnter(); 3133 const std::vector<FileOpenExFlag s_T> EmptyFlags;3133 const std::vector<FileOpenExFlag_T> EmptyFlags; 3134 3134 return fileOpenEx(aPath, aAccessMode, aOpenAction, FileSharingMode_All, aCreationMode, EmptyFlags, aFile); 3135 3135 } … … 3137 3137 HRESULT GuestSession::fileOpenEx(const com::Utf8Str &aPath, FileAccessMode_T aAccessMode, FileOpenAction_T aOpenAction, 3138 3138 FileSharingMode_T aSharingMode, ULONG aCreationMode, 3139 const std::vector<FileOpenExFlag s_T> &aFlags, ComPtr<IGuestFile> &aFile)3139 const std::vector<FileOpenExFlag_T> &aFlags, ComPtr<IGuestFile> &aFile) 3140 3140 { 3141 3141 LogFlowThisFuncEnter(); … … 3205 3205 fOpenEx = aFlags[i]; 3206 3206 if (fOpenEx) 3207 return setError(E_INVALIDARG, tr("Unsupported FileOpenExFlag s valuesin aFlags (%#x)"), fOpenEx);3207 return setError(E_INVALIDARG, tr("Unsupported FileOpenExFlag value(s) in aFlags (%#x)"), fOpenEx); 3208 3208 openInfo.mfOpenEx = fOpenEx; 3209 3209 … … 3422 3422 3423 3423 HRESULT GuestSession::fsObjMove(const com::Utf8Str &aSource, const com::Utf8Str &aDestination, 3424 const std::vector<FsObjMoveFlag s_T> &aFlags, ComPtr<IProgress> &aProgress)3424 const std::vector<FsObjMoveFlag_T> &aFlags, ComPtr<IProgress> &aProgress) 3425 3425 { 3426 3426 RT_NOREF(aSource, aDestination, aFlags, aProgress); -
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r71220 r71231 631 631 SessionTaskCopyDirTo::SessionTaskCopyDirTo(GuestSession *pSession, 632 632 const Utf8Str &strSource, const Utf8Str &strDest, const Utf8Str &strFilter, 633 DirectoryCopyFlag s_T enmDirCopyFlags)633 DirectoryCopyFlag_T enmDirCopyFlags) 634 634 : GuestSessionTask(pSession) 635 635 , mSource(strSource) … … 797 797 int rc = directoryCreate(mDest, DirectoryCreateFlag_None, uDirMode, fFollowSymlinks); 798 798 if ( rc == VWRN_ALREADY_EXISTS 799 && !(mDirCopyFlags & DirectoryCopyFlag s_CopyIntoExisting))799 && !(mDirCopyFlags & DirectoryCopyFlag_CopyIntoExisting)) 800 800 { 801 801 setProgressErrorMsg(VBOX_E_IPRT_ERROR,
Note:
See TracChangeset
for help on using the changeset viewer.