Changeset 31219 in vbox
- Timestamp:
- Jul 29, 2010 3:16:51 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64227
- Location:
- trunk/src/VBox
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r31217 r31219 1945 1945 if (details == VMINFO_FULL) 1946 1946 { 1947 rc = guest->COMGETTER(AdditionsV BoxVersion)(guestString.asOutParam());1947 rc = guest->COMGETTER(AdditionsVersion)(guestString.asOutParam()); 1948 1948 if ( SUCCEEDED(rc) 1949 1949 && !guestString.isEmpty()) -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMInformationDlg.cpp
r31217 r31219 472 472 if (!addVersion.isEmpty() && !addRevision.isEmpty()) 473 473 { 474 QString addInfo = console.GetGuest().GetAdditionsV BoxVersion();474 QString addInfo = console.GetGuest().GetAdditionsVersion(); 475 475 addVersionStr = (addInfo.isEmpty() ? "(" : "") 476 476 + addVersion -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r31217 r31219 828 828 if (!fIsAdditionsActive) 829 829 return; 830 /* Check the Guest Additions interfaceversion and warn the user about possible compatibility issues in case if the installed version is outdated. */830 /* Check the Guest Additions version and warn the user about possible compatibility issues in case if the installed version is outdated. */ 831 831 CGuest guest = session().GetConsole().GetGuest(); 832 QString strVersion = guest.GetAdditions InterfaceVersion();832 QString strVersion = guest.GetAdditionsVersion(); 833 833 uint uVersion = strVersion.toUInt(); 834 834 /** @todo r=bird: This isn't want we want! We want the VirtualBox version of the additions, all three numbers. See @bugref{4084}.*/ -
trunk/src/VBox/Main/GuestImpl.cpp
r31217 r31219 176 176 } 177 177 178 STDMETHODIMP Guest::COMGETTER(Additions InterfaceVersion) (BSTR *aVersion)179 { 180 CheckComArgOutPointerValid(a Version);178 STDMETHODIMP Guest::COMGETTER(AdditionsVersion) (BSTR *aAdditionsVersion) 179 { 180 CheckComArgOutPointerValid(aAdditionsVersion); 181 181 182 182 AutoCaller autoCaller(this); … … 185 185 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 186 186 187 mData.mInterfaceVersion.cloneTo(aVersion); 188 189 return S_OK; 190 } 191 192 STDMETHODIMP Guest::COMGETTER(AdditionsVBoxVersion) (BSTR *aVersion) 193 { 194 CheckComArgOutPointerValid(aVersion); 195 196 AutoCaller autoCaller(this); 197 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 198 199 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 200 201 mData.mAdditionsVersion.cloneTo(aVersion); 187 mData.mAdditionsVersion.cloneTo(aAdditionsVersion); 202 188 203 189 return S_OK; … … 1457 1443 * API version and OS type. 1458 1444 * 1459 * @param a InterfaceVersion1445 * @param aVersion 1460 1446 * @param aOsType 1461 1447 */ 1462 void Guest::setAdditionsInfo(Bstr a InterfaceVersion, VBOXOSTYPE aOsType)1448 void Guest::setAdditionsInfo(Bstr aVersion, VBOXOSTYPE aOsType) 1463 1449 { 1464 1450 AutoCaller autoCaller(this); … … 1471 1457 * Note that this is *not* the actual Guest Additions version and may differ! 1472 1458 */ 1473 mData.m InterfaceVersion = aInterfaceVersion;1459 mData.mAdditionsVersion = aVersion; 1474 1460 /* 1475 1461 * Older Additions rely on the Additions API version whether they … … 1477 1463 * this immediately. 1478 1464 */ 1479 mData.mAdditionsActive = !a InterfaceVersion.isEmpty();1465 mData.mAdditionsActive = !aVersion.isEmpty(); 1480 1466 /* 1481 1467 * Older Additions didn't have this finer grained capability bit, … … 1501 1487 * @param ulFlags 1502 1488 */ 1503 void Guest::setAdditionsStatus (VBoxGuestStatusFacility Facility, VBoxGuestStatusCurrent Status, ULONG ulFlags)1489 void Guest::setAdditionsStatus (VBoxGuestStatusFacility Facility, VBoxGuestStatusCurrent Status, ULONG ulFlags) 1504 1490 { 1505 1491 AutoCaller autoCaller(this); … … 1521 1507 * @param ulActive 1522 1508 */ 1523 void Guest::setSupportedFeatures (ULONG64 ulCaps, ULONG64 ulActive)1509 void Guest::setSupportedFeatures (ULONG64 ulCaps, ULONG64 ulActive) 1524 1510 { 1525 1511 AutoCaller autoCaller(this); -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r31218 r31219 7729 7729 <interface 7730 7730 name="IGuest" extends="$unknown" 7731 uuid=" a3f4b219-ae2a-464c-b488-36cd8ac06b79"7731 uuid="d915dff1-ed38-495a-91f1-ab6c53932468" 7732 7732 wsmap="managed" 7733 7733 > … … 7764 7764 </attribute> 7765 7765 7766 <attribute name="additionsVBoxVersion" type="wstring" readonly="yes"> 7767 <desc> 7768 Version of the installed Guest Additions package (3 decimal numbers 7769 separated by dots) or empty when the Additions are not installed. The 7770 Additions may also report a version but yet not be active as the version 7771 might be refused by VirtualBox (incompatible) or other failures 7772 occurred. 7773 </desc> 7774 </attribute> 7775 7776 <attribute name="additionsInterfaceVersion" type="wstring" readonly="yes"> 7777 <desc> 7778 Version of the Guest Additions interface (2 decimal numbers separated by 7779 a dot) or empty when the Additions are not installed. The Additions may 7780 also report a version but yet not be active as the version might be 7781 refused by VirtualBox (incompatible) or other failures occurred. 7766 <attribute name="additionsVersion" type="wstring" readonly="yes"> 7767 <desc> 7768 Version of the Guest Additions (3 decimal numbers separated 7769 by dots) or empty when the Additions are not installed. The 7770 Additions may also report a version but yet not be active as 7771 the version might be refused by VirtualBox (incompatible) or 7772 other failures occurred. 7782 7773 </desc> 7783 7774 </attribute> -
trunk/src/VBox/Main/include/GuestImpl.h
r31217 r31219 80 80 #endif 81 81 STDMETHOD(COMGETTER(AdditionsActive)) (BOOL *aAdditionsActive); 82 STDMETHOD(COMGETTER(AdditionsInterfaceVersion)) (BSTR *aVersion); 83 STDMETHOD(COMGETTER(AdditionsVBoxVersion)) (BSTR *aVersion); 82 #if 0 83 /** @todo Will replace AdditionsVersion to be more clear. */ 84 STDMETHOD(COMGETTER(AdditionsAPIVersion)) (BSTR *aAdditionsVersion); 85 #endif 86 STDMETHOD(COMGETTER(AdditionsVersion)) (BSTR *aAdditionsVersion); 84 87 /** @todo Remove */ 85 88 STDMETHOD(COMGETTER(SupportsSeamless)) (BOOL *aSupportsSeamless); … … 172 175 BOOL mAdditionsActive; 173 176 Bstr mAdditionsVersion; 174 Bstr mInterfaceVersion;175 177 BOOL mSupportsSeamless; 176 178 BOOL mSupportsGraphics;
Note:
See TracChangeset
for help on using the changeset viewer.