UIDownloaderExtensionPack.h revision 441579693f771e49eb05f2bd20c316232155675b
/** @file
*
* VBox frontends: Qt GUI ("VirtualBox"):
* UIDownloader for extension pack
*/
/*
* Copyright (C) 2011 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 __UIDownloaderExtensionPack_h__
#define __UIDownloaderExtensionPack_h__
/* Local includes: */
#include "QIWithRetranslateUI.h"
#include "UIDownloader.h"
/* UIMiniProgressWidget reimplementation for the VirtualBox extension pack downloading: */
{
/* Constructor: */
/* Translating stuff: */
void retranslateUi();
};
/* UIDownloader reimplementation for the VirtualBox Extension Pack updating: */
{
/* Create downloader: */
static UIDownloaderExtensionPack* create();
/* Return downloader: */
static UIDownloaderExtensionPack* current();
/* Starts downloading: */
void start();
/* Notify listeners about extension pack downloaded: */
void sigNotifyAboutExtensionPackDownloaded(const QString &strSource, const QString &strTarget, QString strHash);
/* Constructor/destructor: */
/* Virtual methods reimplementations: */
/* Variables: */
static UIDownloaderExtensionPack *m_pInstance;
};
#endif // __UIDownloaderExtensionPack_h__