VBoxVMSerialPortSettings.ui.h revision f503eb77dfd7a1fd153f0ad602d78d783f7fe321
/**
*
* VBox frontends: Qt GUI ("VirtualBox"):
* "VM serial port settings" dialog UI include (Qt Designer)
*/
/*
* Copyright (C) 2006-2007 innotek GmbH
*
* 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 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.
*/
/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
** If you wish to add, delete or rename functions or slots use
** Qt Designer which will update this file, preserving your code. Create an
** init() function in place of a constructor, and a destroy() function in
** place of a destructor.
*****************************************************************************/
static const struct PortConfig
{
const char *name;
}
kKnownPorts[] =
{
{ "COM1", 4, 0x3F8 },
{ "COM2", 3, 0x2F8 },
{ "COM3", 4, 0x3E8 },
{ "COM4", 3, 0x2E8 },
/* must not contain an element with IRQ=0 and IOBase=0 used to cause
* portNumbers2Name() to return the "User-defined" string. */
};
{
return &kKnownPorts [i];
return NULL;
}
{
return &kKnownPorts [i];
return NULL;
}
{
if (config)
}
void VBoxVMSerialPortSettings::init()
{
/* setup validation */
/* setup constraints */
/* set initial values */
}
{
/* ensure everything is up-to-date */
}
{
}
{
}
{
if (aOn)
{
}
}
{
{
}
}
{
}