Changeset 98667 in vbox for trunk/src/VBox/Main
- Timestamp:
- Feb 21, 2023 9:21:27 AM (2 years ago)
- Location:
- trunk/src/VBox/Main/src-client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestDirectoryImpl.cpp
r98666 r98667 489 489 AssertPtrReturn(pcszWhat, ""); 490 490 491 #define CASE_MSG(a_iRc, ...) \ 492 case a_iRc: strErr.printf(__VA_ARGS__); break; 493 491 494 Utf8Str strErr; 492 495 switch (vrcGuest) 493 496 { 494 #define CASE_MSG(a_iRc, ...) \ 495 case a_iRc: strErr.printf(__VA_ARGS__); break;496 CASE_MSG(VERR_CANT_CREATE , tr("Access to guest directory \"%s\" is denied"), pcszWhat);497 CASE_MSG(VERR_DIR_NOT_EMPTY, tr("Guest directory \"%s\" is not empty"), pcszWhat);497 CASE_MSG(VERR_ACCESS_DENIED, tr("Access to guest directory \"%s\" is denied"), pcszWhat); 498 CASE_MSG(VERR_ALREADY_EXISTS, tr("Guest directory \"%s\" already exists"), pcszWhat); 499 CASE_MSG(VERR_CANT_CREATE, tr("Guest directory \"%s\" cannot be created"), pcszWhat); 500 CASE_MSG(VERR_DIR_NOT_EMPTY, tr("Guest directory \"%s\" is not empty"), pcszWhat); 498 501 default: 499 502 strErr.printf(tr("Error %Rrc for guest directory \"%s\" occurred\n"), vrcGuest, pcszWhat); -
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r98666 r98667 983 983 if (RT_SUCCESS(vrc)) 984 984 { 985 // / @todo To be implemented985 // Nothing to do here. 986 986 } 987 else if (pEvent->HasGuestError() && pvrcGuest) 988 *pvrcGuest = pEvent->GuestResult(); 987 989 } 988 990 } … … 1722 1724 if (RT_SUCCESS(vrc)) 1723 1725 { 1724 // / @todo To be implemented1726 // Nothing to do here. 1725 1727 } 1728 else if (pEvent->HasGuestError() && pvrcGuest) 1729 *pvrcGuest = pEvent->GuestResult(); 1726 1730 } 1727 1731 }
Note:
See TracChangeset
for help on using the changeset viewer.