/** @file
* VBox Qt GUI - Update routine related declarations.
*/
/*
* Copyright (C) 2006-2012 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 ___UIUpdateDefs_h___
#define ___UIUpdateDefs_h___
/* Global includes: */
#include <QDate>
/* Local includes: */
#include "VBoxVersion.h"
/* This structure is used to store retranslated reminder values. */
struct VBoxUpdateDay
{
};
{
/* Period types: */
enum PeriodType
{
Period1Day = 0,
};
/* Branch types: */
enum BranchType
{
BranchStable = 0,
};
/* Public static helpers: */
static void populate();
static QStringList list();
/* Constructors: */
/* Public helpers: */
bool isNoNeedToCheck() const;
bool isNeedToCheck() const;
PeriodType periodIndex() const;
BranchType branchIndex() const;
QString branchName() const;
VBoxVersion version() const;
/* Private helpers: */
void decode();
void encode();
/* Private variables: */
};
#endif // !___UIUpdateDefs_h___