UIMachineLogicFullscreen.h revision 346af0930020342df40a1ca8d13eb185ad48067e
/** @file
*
* VBox frontends: Qt GUI ("VirtualBox"):
* UIMachineLogicFullscreen class declaration
*/
/*
* Copyright (C) 2010 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* 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 __UIMachineLogicFullscreen_h__
#define __UIMachineLogicFullscreen_h__
/* Local includes */
#include "UIMachineLogic.h"
/* Local forwards */
{
/* Fullscreen machine logic constructor/destructor: */
bool checkAvailability();
void initialize();
int hostScreenForGuestScreen(int screenId) const;
#ifdef RT_OS_DARWIN
void sltChangePresentationMode(bool fEnabled);
void sltScreenLayoutChanged();
#endif /* RT_OS_DARWIN */
/* Prepare helpers: */
#ifdef Q_WS_MAC
void prepareCommonConnections();
#endif /* Q_WS_MAC */
void prepareActionGroups();
void prepareMachineWindows();
/* Cleanup helpers: */
void cleanupMachineWindows();
void cleanupActionGroups();
#ifdef Q_WS_MAC
//void cleanupCommonConnections() {}
#endif /* Q_WS_MAC */
#ifdef Q_WS_MAC
void setPresentationModeEnabled(bool fEnabled);
#endif /* Q_WS_MAC */
/* Friend classes: */
};
#endif // __UIMachineLogicFullscreen_h__