mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 23:05:34 +08:00
Ref T203, download component (generic file download)
This commit is contained in:
@@ -25,6 +25,7 @@ namespace BlackGui
|
||||
namespace Components
|
||||
{
|
||||
class CInstallXSwiftBusDialog;
|
||||
class CDownloadDialog;
|
||||
|
||||
/**
|
||||
* Update info (distributions, artifacts etc.)
|
||||
@@ -59,6 +60,7 @@ namespace BlackGui
|
||||
private:
|
||||
QScopedPointer<Ui::CUpdateInfoComponent> ui;
|
||||
QScopedPointer<CInstallXSwiftBusDialog> m_installXSwiftBusDialog; //!< dialog, install XSwiftXBus
|
||||
QScopedPointer<CDownloadDialog> m_downloadDialog; //!< dialog, download installer
|
||||
BlackMisc::CDataReadOnly<BlackMisc::Db::TUpdateInfo> m_updateInfo { this, &CUpdateInfoComponent::changedUpdateInfo }; //!< version cache
|
||||
BlackMisc::CSetting<BlackCore::Application::TUpdatePreferences> m_updateSettings { this }; //!< channel/platform selected
|
||||
BlackMisc::CDigestSignal m_dsDistributionAvailable { this, &CUpdateInfoComponent::updateInfoAvailable, 15000, 2 };
|
||||
@@ -81,6 +83,9 @@ namespace BlackGui
|
||||
//! Install XSwiftBus dialog
|
||||
void downloadXSwiftBusDialog();
|
||||
|
||||
//! Download installer dialog
|
||||
void downloadInstallerDialog();
|
||||
|
||||
//! Save the current settings
|
||||
void saveSettings();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user