Changeset 90828 in vbox for trunk/src/VBox/Main/include/GuestImpl.h
- Timestamp:
- Aug 24, 2021 9:44:46 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 146463
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestImpl.h
r85309 r90828 63 63 public: 64 64 65 DECLARE_ EMPTY_CTOR_DTOR(Guest)65 DECLARE_COMMON_CLASS_METHODS (Guest) 66 66 67 67 HRESULT FinalConstruct(); … … 101 101 BOOL i_isPageFusionEnabled(); 102 102 void i_setCpuCount(uint32_t aCpus) { mCpus = aCpus; } 103 static HRESULT i_setErrorStatic(HRESULT aResultCode, const Utf8Str &aText)103 static HRESULT i_setErrorStatic(HRESULT aResultCode, const char *aText, ...) 104 104 { 105 return setErrorInternal(aResultCode, getStaticClassIID(), getStaticComponentName(), aText, false, true); 105 va_list va; 106 va_start(va, aText); 107 HRESULT hrc = setErrorInternalV(aResultCode, getStaticClassIID(), getStaticComponentName(), aText, va, false, true); 108 va_end(va); 109 return hrc; 106 110 } 107 111 uint32_t i_getAdditionsRevision(void) { return mData.mAdditionsRevision; }
Note:
See TracChangeset
for help on using the changeset viewer.