Changeset 98263 in vbox for trunk/src/VBox/Main/include/AutoStateDep.h
- Timestamp:
- Jan 24, 2023 1:52:49 AM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/AutoStateDep.h
r98262 r98263 84 84 85 85 /** Decreases the number of dependencies before the instance is 86 * destroyed. Note that will reset # rc() to E_FAIL. */86 * destroyed. Note that will reset #hrc() to E_FAIL. */ 87 87 void release() 88 88 { … … 92 92 } 93 93 94 /** Restores the number of callers after by #release(). # rc() will be94 /** Restores the number of callers after by #release(). #hrc() will be 95 95 * reset to the result of calling addStateDependency() and must be 96 96 * rechecked to ensure the operation succeeded. */ … … 104 104 /** Returns the result of Machine::addStateDependency(). */ 105 105 HRESULT hrc() const { return mRC; } 106 /** Returns the result of Machine::addStateDependency().107 * @deprecated Use #hrc() instead. */108 HRESULT rc() const { return mRC; }109 106 110 107 /** Shortcut to SUCCEEDED(hrc()). */
Note:
See TracChangeset
for help on using the changeset viewer.