VirtualBox

Changeset 52248 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Jul 31, 2014 7:00:11 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95331
Message:

Main: ISession fully converted to use API wrappers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/SessionImpl.h

    r52232 r52248  
    5151    void uninit();
    5252
    53 #ifndef VBOX_WITH_GENERIC_SESSION_WATCHER
    54     STDMETHOD(AssignMachine)(IMachine *aMachine, LockType_T aLockType, IN_BSTR aTokenId);
    55 #else /* VBOX_WITH_GENERIC_SESSION_WATCHER */
    56     STDMETHOD(AssignMachine)(IMachine *aMachine, LockType_T aLockType, IToken *aToken);
    57 #endif /* VBOX_WITH_GENERIC_SESSION_WATCHER */
    58 
    5953private:
    6054
     
    6963    HRESULT getPID(ULONG *aPid);
    7064    HRESULT getRemoteConsole(ComPtr<IConsole> &aConsole);
     65#ifndef VBOX_WITH_GENERIC_SESSION_WATCHER
     66    HRESULT assignMachine(const ComPtr<IMachine> &aMachine,
     67                          LockType_T aLockType,
     68                          const com::Utf8Str &aTokenId);
     69#else
     70    HRESULT assignMachine(const ComPtr<IMachine> &aMachine,
     71                          LockType_T aLockType,
     72                          const ComPtr<IToken> &aToken);
     73#endif /* !VBOX_WITH_GENERIC_SESSION_WATCHER */
    7174    HRESULT assignRemoteMachine(const ComPtr<IMachine> &aMachine,
    7275                                const ComPtr<IConsole> &aConsole);
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