- Timestamp:
- Jun 4, 2007 8:39:52 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 15 edited
-
include/iprt/cdefs.h (modified) (1 diff)
-
src/VBox/Main/BIOSSettingsImpl.cpp (modified) (1 diff)
-
src/VBox/Main/ConsoleImpl.cpp (modified) (1 diff)
-
src/VBox/Main/DVDImageImpl.cpp (modified) (1 diff)
-
src/VBox/Main/FloppyImageImpl.cpp (modified) (1 diff)
-
src/VBox/Main/GuestImpl.cpp (modified) (1 diff)
-
src/VBox/Main/GuestOSTypeImpl.cpp (modified) (1 diff)
-
src/VBox/Main/HardDiskImpl.cpp (modified) (1 diff)
-
src/VBox/Main/HostDVDDriveImpl.cpp (modified) (1 diff)
-
src/VBox/Main/HostFloppyDriveImpl.cpp (modified) (1 diff)
-
src/VBox/Main/HostUSBDeviceImpl.cpp (modified) (5 diffs)
-
src/VBox/Main/MachineImpl.cpp (modified) (1 diff)
-
src/VBox/Main/SharedFolderImpl.cpp (modified) (3 diffs)
-
src/VBox/Main/USBControllerImpl.cpp (modified) (2 diffs)
-
src/VBox/Main/VirtualBoxImpl.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r2981 r3007 1304 1304 inline static void operator delete (void *); 1305 1305 1306 1307 /**1308 * Shortcut to |const_cast<C &>()| that automatically derives the correct1309 * type (class) for the const_cast template's argument from its own argument.1310 * Can be used to temporarily cancel the |const| modifier on the left-hand side1311 * of assignment expressions, like this:1312 * @code1313 * const Class that;1314 * ...1315 * unconst (that) = some_value;1316 * @endcode1317 */1318 template <class C>1319 inline C &unconst (const C &that) { return const_cast <C &> (that); }1320 1321 1322 /**1323 * Shortcut to |const_cast<C *>()| that automatically derives the correct1324 * type (class) for the const_cast template's argument from its own argument.1325 * Can be used to temporarily cancel the |const| modifier on the left-hand side1326 * of assignment expressions, like this:1327 * @code1328 * const Class *that;1329 * ...1330 * unconst (that) = some_value;1331 * @endcode1332 */1333 template <class C>1334 inline C *unconst (const C *that) { return const_cast <C *> (that); }1335 1336 1306 #endif /* defined(__cplusplus) */ 1337 1307 -
trunk/src/VBox/Main/BIOSSettingsImpl.cpp
r2981 r3007 23 23 #include "MachineImpl.h" 24 24 #include "Logging.h" 25 #include <iprt/cpputils.h> 25 26 26 27 // constructor / destructor -
trunk/src/VBox/Main/ConsoleImpl.cpp
r3001 r3007 60 60 #include <iprt/process.h> 61 61 #include <iprt/ldr.h> 62 #include <iprt/cpputils.h> 62 63 63 64 #include <VBox/vmapi.h> -
trunk/src/VBox/Main/DVDImageImpl.cpp
r2981 r3007 26 26 #include <iprt/file.h> 27 27 #include <iprt/path.h> 28 #include <iprt/cpputils.h> 28 29 #include <VBox/err.h> 29 30 #include <VBox/param.h> -
trunk/src/VBox/Main/FloppyImageImpl.cpp
r2981 r3007 26 26 #include <iprt/file.h> 27 27 #include <iprt/path.h> 28 #include <iprt/cpputils.h> 28 29 #include <VBox/err.h> 29 30 #include <VBox/param.h> -
trunk/src/VBox/Main/GuestImpl.cpp
r2981 r3007 27 27 28 28 #include <VBox/VBoxDev.h> 29 #include <iprt/cpputils.h> 29 30 30 31 // defines -
trunk/src/VBox/Main/GuestOSTypeImpl.cpp
r2981 r3007 22 22 #include "GuestOSTypeImpl.h" 23 23 #include "Logging.h" 24 #include <iprt/cpputils.h> 24 25 25 26 // constructor / destructor -
trunk/src/VBox/Main/HardDiskImpl.cpp
r2981 r3007 31 31 #include <iprt/path.h> 32 32 #include <iprt/dir.h> 33 #include <iprt/cpputils.h> 33 34 #include <VBox/VBoxHDD.h> 34 35 #include <VBox/VBoxHDD-new.h> -
trunk/src/VBox/Main/HostDVDDriveImpl.cpp
r2981 r3007 21 21 22 22 #include "HostDVDDriveImpl.h" 23 #include <iprt/cpputils.h> 23 24 24 25 // constructor / destructor -
trunk/src/VBox/Main/HostFloppyDriveImpl.cpp
r2981 r3007 21 21 22 22 #include "HostFloppyDriveImpl.h" 23 #include <iprt/cpputils.h> 23 24 24 25 // constructor / destructor -
trunk/src/VBox/Main/HostUSBDeviceImpl.cpp
r3001 r3007 28 28 29 29 #include <VBox/err.h> 30 #include <iprt/cpputils.h> 30 31 31 32 // constructor / destructor … … 314 315 //////////////////////////////////////////////////////////////////////////////// 315 316 316 /** 317 /** 317 318 * @note Locks this object for reading. 318 319 */ … … 447 448 /** 448 449 * Requests the USB proxy service to release the device, sets the pending 449 * state to Held and removes the machine association if any. 450 * state to Held and removes the machine association if any. 450 451 * 451 452 * If the state change may be performed immediately (for example, the current … … 578 579 579 580 Assert (!mMachine.isNull()); 580 581 581 582 /// @todo more detailed error message depending on the state? 582 583 // probably need some error code/string from the USB proxy itself 583 584 584 585 requestRC = E_FAIL; 585 586 errorText = Utf8StrFmt ( … … 605 606 /// @todo more detailed error message depending on the state? 606 607 // probably need some error code/string from the USB proxy itself 607 608 608 609 requestRC = E_FAIL; 609 610 errorText = Utf8StrFmt ( -
trunk/src/VBox/Main/MachineImpl.cpp
r3001 r3007 58 58 #include <iprt/asm.h> 59 59 #include <iprt/process.h> 60 #include <iprt/cpputils.h> 60 61 #include <VBox/param.h> 61 62 -
trunk/src/VBox/Main/SharedFolderImpl.cpp
r2981 r3007 29 29 #include <iprt/param.h> 30 30 #include <iprt/path.h> 31 #include <iprt/cpputils.h> 31 32 32 33 // constructor / destructor … … 139 140 Utf8Str hostPath = Utf8Str (aHostPath); 140 141 size_t hostPathLen = hostPath.length(); 141 142 142 143 /* Remove the trailng slash unless it's a root directory 143 144 * (otherwise the comparison with the RTPathAbs() result will fail at least … … 157 158 else 158 159 RTPathStripTrailingSlash (hostPath.mutableRaw()); 159 160 160 161 /* Check whether the path is full (absolute) */ 161 162 char hostPathFull [RTPATH_MAX]; -
trunk/src/VBox/Main/USBControllerImpl.cpp
r3001 r3007 33 33 34 34 #include <iprt/string.h> 35 #include <iprt/cpputils.h> 35 36 #include <VBox/err.h> 36 37 … … 1190 1191 } 1191 1192 1192 return S_OK; 1193 return S_OK; 1193 1194 } 1194 1195 -
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r2980 r3007 48 48 #include <iprt/thread.h> 49 49 #include <iprt/process.h> 50 #include <iprt/cpputils.h> 50 51 51 52 #include <VBox/err.h>
Note:
See TracChangeset
for help on using the changeset viewer.

