ConsoleImpl.h revision 7443a686194e762f7c0b9af0c1d914e192408930
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * VBox Console COM Class definition
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Copyright (C) 2006-2009 Sun Microsystems, Inc.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * available from http://www.virtualbox.org. This file is free software;
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * you can redistribute it and/or modify it under the terms of the GNU
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * General Public License (GPL) as published by the Free Software
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * additional information or have any questions.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync# include <VBox/HostServices/GuestPropertySvc.h> /* For the property notification callback */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync///////////////////////////////////////////////////////////////////////////////
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Checks the availability of the underlying VM device driver corresponding
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * to the COM interface (IKeyboard, IMouse, IDisplay, etc.). When the driver is
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * not available (NULL), sets error info and returns returns E_ACCESSDENIED.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * The translatable error message is defined in null context.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Intended to used only within Console children (i.e. Keyboard, Mouse,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Display, etc.).
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * @param drv driver pointer to check (compare it with NULL)
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync return setError (E_ACCESSDENIED, tr ("The console is not powered up")); \
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync } while (0)
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync///////////////////////////////////////////////////////////////////////////////
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/** IConsole implementation class */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync public VirtualBoxSupportErrorInfoImpl <Console, IConsole>,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync // public initializers/uninitializers for internal purposes only
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync HRESULT init (IMachine *aMachine, IInternalMachineControl *aControl);
HRESULT enumerateGuestProperties (IN_BSTR aPatterns, ComSafeArrayOut(BSTR, aNames), ComSafeArrayOut(BSTR, aValues), ComSafeArrayOut(ULONG64, aTimestamps), ComSafeArrayOut(BSTR, aFlags));
int VRDPClientLogon (uint32_t u32ClientId, const char *pszUser, const char *pszPassword, const char *pszDomain);
void processRemoteUSBDevices (uint32_t u32ClientId, VRDPUSBDEVICEDESC *pDevList, uint32_t cbDevList);
void *pShape);
void onAdditionsStateChange();
void onAdditionsOutdated();
setError (E_FAIL, tr("Could not load the external authentication library '%s' (%Rrc)"), filename, rc);
void release()
void add()
SharedFolderData() {}
void releaseVMCaller();
bool aSetError = false);
bool fPassthrough);
#ifdef VBOX_DYNAMIC_NET_ATTACH
#ifdef VBOX_WITH_USB
static DECLCALLBACK(int)
static DECLCALLBACK(int)
static DECLCALLBACK (int)
static DECLCALLBACK(void)
static DECLCALLBACK(void)
const char *pszErrorId,
static DECLCALLBACK(void *) drvStatus_QueryInterface(PPDMIBASE pInterface, PDMINTERFACE enmInterface);
int mcAudioRefs;
static const char *sSSMConsoleUnit;
#ifdef VBOX_WITH_GUEST_PROPS
bool valid;
bool visible;
bool alpha;
mpsc;
bool valid;
mcc;
bool valid;
bool numLock;
bool capsLock;
bool scrollLock;
klc;