Changeset 75660 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Nov 22, 2018 12:20:52 PM (6 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/AutoCaller.h
r69500 r75660 476 476 public: 477 477 478 AutoUninitSpan(VirtualBoxBase *aObj );478 AutoUninitSpan(VirtualBoxBase *aObj, bool fTry = false); 479 479 ~AutoUninitSpan(); 480 480 … … 484 484 /** |true| when uninit() has already been called (so the object is NotReady) */ 485 485 bool uninitDone() { return mUninitDone; } 486 487 /** |true| when uninit() has failed, relevant only if it was a "try uninit" */ 488 bool uninitFailed() { return mUninitFailed; } 486 489 487 490 void setSucceeded(); … … 495 498 bool mInitFailed : 1; 496 499 bool mUninitDone : 1; 500 bool mUninitFailed : 1; 497 501 }; 498 502 -
trunk/src/VBox/Main/include/ObjectState.h
r69500 r75660 99 99 bool autoInitSpanConstructor(State aExpectedState); 100 100 void autoInitSpanDestructor(State aNewState, HRESULT aFailedRC, com::ErrorInfo *aFailedEI); 101 State autoUninitSpanConstructor( );101 State autoUninitSpanConstructor(bool fTry); 102 102 void autoUninitSpanDestructor(); 103 103
Note:
See TracChangeset
for help on using the changeset viewer.