UIMachineViewSeamless.h revision 63053bf6ac5b4b7ea12b8d049180069e14f35d04
/** @file
*
* VBox frontends: Qt GUI ("VirtualBox"):
* UIMachineViewSeamless 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;
* 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 ___UIMachineViewSeamless_h___
#define ___UIMachineViewSeamless_h___
/* Local includes */
#include "UIMachineView.h"
{
/* Seamless machine-view constructor: */
#ifdef VBOX_WITH_VIDEOHWACCEL
, bool bAccelerate2DVideo
#endif
);
/* Seamless machine-view destructor: */
/* Handler: Console callback stuff: */
void sltAdditionsStateChanged();
/* Handler: Frame-buffer SetVisibleRegion stuff: */
/* Event handlers: */
/* Prepare helpers: */
void prepareCommon();
void prepareFilters();
void prepareConsoleConnections();
void prepareSeamless();
/* Cleanup helpers: */
void cleanupSeamless();
//void cleanupConsoleConnections() {}
//void cleanupFilters() {}
//void cleanupCommon() {}
/** Adjusts guest-screen size to correspond current <i>working area</i> size. */
void adjustGuestScreenSize();
/* Helpers: Geometry stuff: */
QRect workingArea() const;
QSize calculateMaxGuestSize() const;
/* Friend classes: */
};
#endif // !___UIMachineViewSeamless_h___