Changeset 97303 in vbox
- Timestamp:
- Oct 26, 2022 2:24:59 PM (2 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestCtrlImplPrivate.h
r97276 r97303 1291 1291 1292 1292 static FsObjType_T fileModeToFsObjType(RTFMODE fMode); 1293 static const char *fsObjTypeToStr(FsObjType_T enmType); 1293 1294 static Utf8Str getErrorAsString(const Utf8Str &strAction, const GuestErrorInfo& guestErrorInfo); 1294 1295 static Utf8Str getErrorAsString(const GuestErrorInfo &guestErrorInfo); -
trunk/src/VBox/Main/src-client/GuestCtrlPrivate.cpp
r97276 r97303 1398 1398 } 1399 1399 1400 /** 1401 * Converts a FsObjType_T to a human-readable string. 1402 * 1403 * @returns Human-readable string of FsObjType_T. 1404 * @param enmType FsObjType_T to convert. 1405 */ 1406 /* static */ 1407 const char *GuestBase::fsObjTypeToStr(FsObjType_T enmType) 1408 { 1409 switch (enmType) 1410 { 1411 case FsObjType_Directory: return "directory"; 1412 case FsObjType_Symlink: return "symbolic link"; 1413 case FsObjType_File: return "file"; 1414 default: break; 1415 } 1416 1417 return "unknown"; 1418 } 1419 1400 1420 GuestObject::GuestObject(void) 1401 1421 : mSession(NULL),
Note:
See TracChangeset
for help on using the changeset viewer.