VirtualBox

Changeset 3582 in vbox for trunk/src/VBox/Main/GuestImpl.cpp


Ignore:
Timestamp:
Jul 12, 2007 2:05:10 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
22831
Message:

Added seamless support property to the IGuest class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/GuestImpl.cpp

    r3007 r3582  
    141141}
    142142
     143STDMETHODIMP Guest::COMGETTER(SeamlessSupport) (BOOL *aSeamlessSupport)
     144{
     145    if (!aSeamlessSupport)
     146        return E_POINTER;
     147
     148    AutoCaller autoCaller (this);
     149    CheckComRCReturnRC (autoCaller.rc());
     150
     151    AutoReaderLock alock (this);
     152
     153    *aSeamlessSupport = mData.mSeamlessSupport;
     154
     155    return S_OK;
     156}
     157
    143158STDMETHODIMP Guest::SetCredentials(INPTR BSTR aUserName, INPTR BSTR aPassword,
    144159                                   INPTR BSTR aDomain, BOOL aAllowInteractiveLogon)
     
    185200    mData.mAdditionsActive = TRUE;
    186201}
     202
     203void Guest::setSeamlessSupport(BOOL aSeamlessSupport)
     204{
     205    AutoCaller autoCaller (this);
     206    AssertComRCReturnVoid (autoCaller.rc());
     207
     208    AutoLock alock (this);
     209
     210    mData.mSeamlessSupport = aSeamlessSupport;
     211}
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette