Changeset 55631 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- May 4, 2015 4:08:10 AM (10 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestCtrlImplPrivate.h
r55594 r55631 599 599 /** The filename. */ 600 600 Utf8Str mFileName; 601 /** Then file's opening mode. */ 602 Utf8Str mOpenMode; 603 /** The file's disposition mode. */ 604 Utf8Str mDisposition; 605 /** The file's sharing mode. 606 **@todo Not implemented yet.*/ 607 Utf8Str mSharingMode; 601 /** The file access mode. */ 602 FileAccessMode_T mAccessMode; 603 /** String translation of mFileAccessMode for the GAs. */ 604 const char *mpszAccessMode; 605 /** The file open action. */ 606 FileOpenAction_T mOpenAction; 607 /** String translation of mOpenAction for the GAs. */ 608 const char *mpszOpenAction; 609 /** The file sharing mode. */ 610 FileSharingMode_T mSharingMode; 608 611 /** Octal creation mode. */ 609 612 uint32_t mCreationMode; -
trunk/src/VBox/Main/include/GuestFileImpl.h
r51321 r55631 72 72 private: 73 73 74 /** Wrapped @nameIGuestFile properties.74 /** @name Wrapped IGuestFile properties. 75 75 * @{ */ 76 76 HRESULT getCreationMode(ULONG *aCreationMode); 77 HRESULT getDisposition(com::Utf8Str &aDisposition);78 77 HRESULT getEventSource(ComPtr<IEventSource> &aEventSource); 79 HRESULT getFileName(com::Utf8Str &aFileName);80 78 HRESULT getId(ULONG *aId); 81 79 HRESULT getInitialSize(LONG64 *aInitialSize); 82 HRESULT getOpenMode(com::Utf8Str &aOpenMode);83 80 HRESULT getOffset(LONG64 *aOffset); 84 81 HRESULT getStatus(FileStatus_T *aStatus); 82 HRESULT getFileName(com::Utf8Str &aFileName); 83 HRESULT getAccessMode(FileAccessMode_T *aAccessMode); 84 HRESULT getOpenAction(FileOpenAction_T *aOpenAction); 85 85 /** @} */ 86 86 87 /** Wrapped @nameIGuestFile methods.87 /** @name Wrapped IGuestFile methods. 88 88 * @{ */ 89 89 HRESULT close(); 90 90 HRESULT queryInfo(ComPtr<IFsObjInfo> &aObjInfo); 91 HRESULT querySize(LONG64 *aSize); 91 92 HRESULT read(ULONG aToRead, 92 93 ULONG aTimeoutMS, … … 97 98 std::vector<BYTE> &aData); 98 99 HRESULT seek(LONG64 aOffset, 99 FileSeekType_T aWhence); 100 HRESULT setACL(const com::Utf8Str &aAcl); 100 FileSeekOrigin_T aWhence, 101 LONG64 *aNewOffset); 102 HRESULT setACL(const com::Utf8Str &aAcl, 103 ULONG aMode); 104 HRESULT setSize(LONG64 aSize); 101 105 HRESULT write(const std::vector<BYTE> &aData, 102 106 ULONG aTimeoutMS, -
trunk/src/VBox/Main/include/GuestSessionImpl.h
r55613 r55631 273 273 HRESULT getProcesses(std::vector<ComPtr<IGuestProcess> > &aProcesses); 274 274 HRESULT getPathStyle(PathStyle_T *aPathStyle); 275 HRESULT getCurrentDirectory(com::Utf8Str &aCurrentDirectory); 276 HRESULT setCurrentDirectory(const com::Utf8Str &aCurrentDirectory); 275 277 HRESULT getDirectories(std::vector<ComPtr<IGuestDirectory> > &aDirectories); 276 278 HRESULT getFiles(std::vector<ComPtr<IGuestFile> > &aFiles); … … 281 283 * @{ */ 282 284 HRESULT close(); 283 HRESULT copyFrom(const com::Utf8Str &aSource, 284 const com::Utf8Str &aDest, 285 const std::vector<CopyFileFlag_T> &aFlags, 286 ComPtr<IProgress> &aProgress); 287 HRESULT copyTo(const com::Utf8Str &aSource, 288 const com::Utf8Str &aDest, 289 const std::vector<CopyFileFlag_T> &aFlags, 290 ComPtr<IProgress> &aProgress); 285 286 HRESULT directoryCopy(const com::Utf8Str &aSource, 287 const com::Utf8Str &aDestination, 288 const std::vector<DirectoryCopyFlags_T> &aFlags, 289 ComPtr<IProgress> &aProgress); 290 HRESULT directoryCopyFromGuest(const com::Utf8Str &aSource, 291 const com::Utf8Str &aDestination, 292 const std::vector<DirectoryCopyFlags_T> &aFlags, 293 ComPtr<IProgress> &aProgress); 294 HRESULT directoryCopyToGuest(const com::Utf8Str &aSource, 295 const com::Utf8Str &aDestination, 296 const std::vector<DirectoryCopyFlags_T> &aFlags, 297 ComPtr<IProgress> &aProgress); 291 298 HRESULT directoryCreate(const com::Utf8Str &aPath, 292 299 ULONG aMode, … … 298 305 com::Utf8Str &aDirectory); 299 306 HRESULT directoryExists(const com::Utf8Str &aPath, 307 BOOL aFollowSymlinks, 300 308 BOOL *aExists); 301 309 HRESULT directoryOpen(const com::Utf8Str &aPath, … … 303 311 const std::vector<DirectoryOpenFlag_T> &aFlags, 304 312 ComPtr<IGuestDirectory> &aDirectory); 305 HRESULT directoryQueryInfo(const com::Utf8Str &aPath,306 ComPtr<IGuestFsObjInfo> &aInfo);307 313 HRESULT directoryRemove(const com::Utf8Str &aPath); 308 314 HRESULT directoryRemoveRecursive(const com::Utf8Str &aPath, 309 315 const std::vector<DirectoryRemoveRecFlag_T> &aFlags, 310 316 ComPtr<IProgress> &aProgress); 311 HRESULT directoryRename(const com::Utf8Str &aSource,312 const com::Utf8Str &aDest,313 const std::vector<PathRenameFlag_T> &aFlags);314 HRESULT directorySetACL(const com::Utf8Str &aPath,315 const com::Utf8Str &aAcl);316 317 HRESULT environmentScheduleSet(const com::Utf8Str &aName, 317 318 const com::Utf8Str &aValue); … … 321 322 HRESULT environmentDoesBaseVariableExist(const com::Utf8Str &aName, 322 323 BOOL *aExists); 324 325 HRESULT fileCopy(const com::Utf8Str &aSource, 326 const com::Utf8Str &aDestination, 327 const std::vector<FileCopyFlag_T> &aFlags, 328 ComPtr<IProgress> &aProgress); 329 HRESULT fileCopyToGuest(const com::Utf8Str &aSource, 330 const com::Utf8Str &aDestination, 331 const std::vector<FileCopyFlag_T> &aFlags, 332 ComPtr<IProgress> &aProgress); 333 HRESULT fileCopyFromGuest(const com::Utf8Str &aSource, 334 const com::Utf8Str &aDestination, 335 const std::vector<FileCopyFlag_T> &aFlags, 336 ComPtr<IProgress> &aProgress); 323 337 HRESULT fileCreateTemp(const com::Utf8Str &aTemplateName, 324 338 ULONG aMode, … … 327 341 ComPtr<IGuestFile> &aFile); 328 342 HRESULT fileExists(const com::Utf8Str &aPath, 343 BOOL aFollowSymlinks, 329 344 BOOL *aExists); 330 HRESULT fileRemove(const com::Utf8Str &aPath);331 345 HRESULT fileOpen(const com::Utf8Str &aPath, 332 const com::Utf8Str &aOpenMode,333 const com::Utf8Str &aDisposition,346 FileAccessMode_T aAccessMode, 347 FileOpenAction_T aOpenAction, 334 348 ULONG aCreationMode, 335 349 ComPtr<IGuestFile> &aFile); 336 350 HRESULT fileOpenEx(const com::Utf8Str &aPath, 337 const com::Utf8Str &aOpenMode,338 const com::Utf8Str &aDisposition,339 const com::Utf8Str &aSharingMode,351 FileAccessMode_T aAccessMode, 352 FileOpenAction_T aOpenAction, 353 FileSharingMode_T aSharingMode, 340 354 ULONG aCreationMode, 341 355 LONG64 aOffset, 342 356 ComPtr<IGuestFile> &aFile); 343 HRESULT fileQueryInfo(const com::Utf8Str &aPath,344 ComPtr<IGuestFsObjInfo> &aInfo);345 357 HRESULT fileQuerySize(const com::Utf8Str &aPath, 358 BOOL aFollowSymlinks, 346 359 LONG64 *aSize); 347 HRESULT fileRename(const com::Utf8Str &aSource, 348 const com::Utf8Str &aDest, 349 const std::vector<PathRenameFlag_T> &aFlags); 350 HRESULT fileSetACL(const com::Utf8Str &aFile, 351 const com::Utf8Str &aAcl); 352 HRESULT fsExists(const com::Utf8Str &aPath, 353 BOOL aFollowSymlinks, 354 BOOL *pfExists); 355 HRESULT fsQueryInfo(const com::Utf8Str &aPath, 360 HRESULT fsObjExists(const com::Utf8Str &aPath, 356 361 BOOL aFollowSymlinks, 357 ComPtr<IGuestFsObjInfo> &aInfo); 362 BOOL *pfExists); 363 HRESULT fsObjQueryInfo(const com::Utf8Str &aPath, 364 BOOL aFollowSymlinks, 365 ComPtr<IGuestFsObjInfo> &aInfo); 366 HRESULT fsObjRemove(const com::Utf8Str &aPath); 367 HRESULT fsObjRename(const com::Utf8Str &aOldPath, 368 const com::Utf8Str &aNewPath, 369 const std::vector<FsObjRenameFlag_T> &aFlags); 370 HRESULT fsObjMove(const com::Utf8Str &aSource, 371 const com::Utf8Str &aDestination, 372 const std::vector<FsObjMoveFlags_T> &aFlags, 373 ComPtr<IProgress> &aProgress); 374 HRESULT fsObjSetACL(const com::Utf8Str &aPath, 375 BOOL aFollowSymlinks, 376 const com::Utf8Str &aAcl, 377 ULONG aMode); 358 378 HRESULT processCreate(const com::Utf8Str &aCommand, 359 379 const std::vector<com::Utf8Str> &aArguments, … … 380 400 const std::vector<SymlinkReadFlag_T> &aFlags, 381 401 com::Utf8Str &aTarget); 382 HRESULT symlinkRemoveDirectory(const com::Utf8Str &aPath);383 HRESULT symlinkRemoveFile(const com::Utf8Str &aFile);384 402 HRESULT waitFor(ULONG aWaitFor, 385 403 ULONG aTimeoutMS, … … 422 440 int i_fileOpenInternal(const GuestFileOpenInfo &openInfo, ComObjPtr<GuestFile> &pFile, int *pGuestRc); 423 441 int i_fileQueryInfoInternal(const Utf8Str &strPath, bool fFollowSymlinks, GuestFsObjData &objData, int *pGuestRc); 424 int i_fileQuerySizeInternal(const Utf8Str &strPath, int64_t *pllSize, int *pGuestRc);442 int i_fileQuerySizeInternal(const Utf8Str &strPath, bool fFollowSymlinks, int64_t *pllSize, int *pGuestRc); 425 443 int i_fsQueryInfoInternal(const Utf8Str &strPath, bool fFollowSymlinks, GuestFsObjData &objData, int *pGuestRc); 426 444 const GuestCredentials &i_getCredentials(void);
Note:
See TracChangeset
for help on using the changeset viewer.