UIMachineLogicNormal.h revision c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46
/** @file
* VBox Qt GUI - UIMachineLogicNormal class declaration.
*/
/*
* Copyright (C) 2010-2013 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the terms of the GNU
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef ___UIMachineLogicNormal_h___
#define ___UIMachineLogicNormal_h___
/* Local includes: */
#include "UIMachineLogic.h"
/* Normal machine logic implementation: */
class UIMachineLogicNormal : public UIMachineLogic
{
Q_OBJECT;
protected:
/* Constructor: */
UIMachineLogicNormal(QObject *pParent, UISession *pSession);
/* Check if this logic is available: */
bool checkAvailability();
private slots:
/* Windowed mode functionality: */
void sltPrepareNetworkAdaptersMenu();
void sltPrepareSharedFoldersMenu();
void sltPrepareVideoCaptureMenu();
void sltPrepareMouseIntegrationMenu();
private:
/* Prepare helpers: */
void prepareActionConnections();
void prepareMachineWindows();
/* Cleanup helpers: */
void cleanupMachineWindows();
void cleanupActionConnections();
/* Friend classes: */
friend class UIMachineLogic;
};
#endif /* !___UIMachineLogicNormal_h___ */