UIMachineSettingsParallel.h revision c5ed72a073c484cf35f7215d6f63b2683c18526a
/** @file
*
* VBox frontends: Qt4 GUI ("VirtualBox"):
* UIMachineSettingsParallel class declaration
*/
/*
* Copyright (C) 2006-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 __UIMachineSettingsParallel_h__
#define __UIMachineSettingsParallel_h__
#include "UISettingsPage.h"
#include "UIMachineSettingsParallel.gen.h"
#include "COMDefs.h"
struct UIParallelPortData
{
int m_iSlot;
bool m_fPortEnabled;
};
/* Machine settings / Parallel page / Cache: */
{
};
{
bool isUserDefined();
void retranslateUi();
void mGbParallelToggled (bool aOn);
int m_iSlot;
};
/* Machine settings / Parallel page: */
{
/* Load data to cashe from corresponding external object(s),
* this task COULD be performed in other than GUI thread: */
/* Load data to corresponding widgets from cache,
* this task SHOULD be performed in GUI thread only: */
void getFromCache();
/* Save data from corresponding widgets to cache,
* this task SHOULD be performed in GUI thread only: */
void putToCache();
/* Save data from cache to corresponding external object(s),
* this task COULD be performed in other than GUI thread: */
void retranslateUi();
/* Internals: */
};
#endif // __UIMachineSettingsParallel_h__