ConsoleImpl.h revision 1fca5fb4e08a25cdeb84065d2f2ee59c7e229da2
1375N/A * available from http://www.virtualbox.org. This file is free software;
1375N/A#ifndef ____H_CONSOLEIMPL
1375N/A#define ____H_CONSOLEIMPL
1375N/A#include "VirtualBoxBase.h"
1375N/A#include "SchemaDefs.h"
1375N/A#ifdef VBOX_WITH_GUEST_PROPS
1375N/A# include <VBox/HostServices/GuestPropertySvc.h> /* For the property notification callback */
1375N/Astruct VUSBIRHCONFIG;
Console();
~Console();
void FinalRelease();
// public initializers/uninitializers for internal purposes only
void uninit();
STDMETHOD(Teleport)(IN_BSTR aHostname, ULONG aPort, IN_BSTR aPassword, ULONG aMaxDowntime, IProgress **aProgress);
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 onAdditionsStateChange();
void onAdditionsOutdated();
void onRemoteDisplayInfoChange();
setError(E_FAIL, tr("Could not load the external authentication library '%s' (%Rrc)"), filename, rc);
static HRESULT convertBusPortDeviceToLun(StorageBus_T enmBus, LONG port, LONG device, unsigned &uLun);
void release()
void add()
SharedFolderData() {}
void releaseVMCaller();
bool aSetError = false);
const char *pcszDevice,
unsigned uInstance,
bool fUseHostIOCache,
bool fSetupMerge,
unsigned uMergeSource,
unsigned uMergeTarget,
bool fAttachDetach,
bool fForceUnmount,
bool fPassthrough,
bool fUseHostIOCache,
bool fSetupMerge,
unsigned uMergeSource,
unsigned uMergeTarget,
const char *pcszDevice,
unsigned uInstance,
bool fUseHostIOCache,
bool fSetupMerge,
unsigned uMergeSource,
unsigned uMergeTarget,
const char *pcszDevice,
unsigned uInstance,
bool fUseHostIOCache,
bool fForce);
#ifdef VBOX_DYNAMIC_NET_ATTACH
#ifdef VBOX_WITH_USB
static DECLCALLBACK(int) usbDetachCallback(Console *that, USBDeviceList::iterator *aIt, PCRTUUID aUuid);
const char *pszErrorId,
const char *pszFormat, ...);
const char *pszErrorId,
int mcAudioRefs;
static const char *sSSMConsoleUnit;
static DECLCALLBACK(int) loadStateFileExec(PSSMHANDLE pSSM, void *pvUser, uint32_t uVersion, uint32_t uPass);
#ifdef VBOX_WITH_GUEST_PROPS
static DECLCALLBACK(int) doGuestPropNotification(void *pvExtension, uint32_t, void *pvParms, uint32_t cbParms);
bool enabledGuestPropertiesVRDP(void);
void updateGuestPropertiesVRDPLogon(uint32_t u32ClientId, const char *pszUser, const char *pszDomain);
HRESULT teleporterSrcReadACK(TeleporterStateSrc *pState, const char *pszWhich, const char *pszNAckMsg = NULL);
HRESULT teleporterSrcSubmitCommand(TeleporterStateSrc *pState, const char *pszCommand, bool fWaitForAck = true);
iLedFloppy = 0,
bool valid;
bool visible;
bool alpha;
mpsc;
bool valid;
mcc;
bool valid;
bool numLock;
bool capsLock;
bool scrollLock;
klc;
void clear()