VBoxGlobal.h revision e97c9df4a1136232fd00f2b9dedd8f00a17e7a1f
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * VBox frontends: Qt GUI ("VirtualBox"):
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * VBoxGlobal class declaration
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Copyright (C) 2006 InnoTek Systemberatung GmbH
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * available from http://www.virtualbox.org. This file is free software;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * you can redistribute it and/or modify it under the terms of the GNU
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * General Public License as published by the Free Software Foundation,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * distribution. VirtualBox OSE is distributed in the hope that it will
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * be useful, but WITHOUT ANY WARRANTY of any kind.
#ifndef __VBoxGlobal_h__
#define __VBoxGlobal_h__
#include "COMDefs.h"
#include "VBoxGlobalSettings.h"
#include <qapplication.h>
#include <qpixmap.h>
#include <qiconset.h>
#include <qcolor.h>
#include <quuid.h>
#include <qthread.h>
#include <qpopupmenu.h>
#include <qtooltip.h>
#include <qptrvector.h>
#include <qvaluevector.h>
#include <qvaluelist.h>
#include <qdict.h>
#include <qintdict.h>
struct VBoxMedia
const bool registered;
#ifdef VBOX_WITH_DEBUGGER_GUI
return machineStates [s];
return sessionStates [s];
return diskControllerTypes [t];
return diskTypes [t];
return diskStorageTypes [t];
return vrdpAuthTypes [t];
return usbFilterActionTypes [t];
return clipboardTypes [t];
return deviceTypes [t];
return audioDriverTypes [t];
return networkAttachmentTypes [t];
void startEnumeratingMedia();
void languageChange();
void cleanup();
const char *aDisabled = 0,
const char *aActive = 0);
bool aCanResize = true);
bool aCanResize = true);
const char *aName = 0,
const char*, const QString &,
bool resolveSymLinks = true);
void mediaEnumStarted();
VBoxGlobal();
~VBoxGlobal() {}
void init();
bool valid;
const char * vm_render_mode_str;
#ifdef VBOX_WITH_DEBUGGER_GUI
bool dbg_enabled;
bool dbg_visible_at_startup;
#if defined (Q_WS_WIN32)
void processAboutToShow();
void processHighlighted (int);
void processAboutToShow();
void processActivated (int);
bool mInverted;