mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-20 02:53:57 +00:00
feat: New Autoloader & Rebrand Current to "Update Manager"
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
|
||||||
|
// SPDX-FileCopyrightText: Copyright 2025 citron Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
@@ -7,6 +8,7 @@
|
|||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
class QLineEdit;
|
class QLineEdit;
|
||||||
|
class QProgressDialog;
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class ConfigureFilesystem;
|
class ConfigureFilesystem;
|
||||||
@@ -20,24 +22,24 @@ public:
|
|||||||
~ConfigureFilesystem() override;
|
~ConfigureFilesystem() override;
|
||||||
|
|
||||||
void ApplyConfiguration();
|
void ApplyConfiguration();
|
||||||
|
void OnRunAutoloader(bool skip_confirmation = false);
|
||||||
|
|
||||||
|
signals:
|
||||||
|
void UpdateInstallProgress();
|
||||||
|
void RequestGameListRefresh();
|
||||||
|
|
||||||
|
private slots:
|
||||||
|
void OnUpdateInstallProgress();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void changeEvent(QEvent* event) override;
|
void changeEvent(QEvent* event) override;
|
||||||
|
|
||||||
void RetranslateUI();
|
void RetranslateUI();
|
||||||
void SetConfiguration();
|
void SetConfiguration();
|
||||||
|
enum class DirectoryTarget { NAND, SD, Gamecard, Dump, Load };
|
||||||
enum class DirectoryTarget {
|
|
||||||
NAND,
|
|
||||||
SD,
|
|
||||||
Gamecard,
|
|
||||||
Dump,
|
|
||||||
Load,
|
|
||||||
};
|
|
||||||
|
|
||||||
void SetDirectory(DirectoryTarget target, QLineEdit* edit);
|
void SetDirectory(DirectoryTarget target, QLineEdit* edit);
|
||||||
void ResetMetadata();
|
void ResetMetadata();
|
||||||
void UpdateEnabledControls();
|
void UpdateEnabledControls();
|
||||||
|
|
||||||
std::unique_ptr<Ui::ConfigureFilesystem> ui;
|
std::unique_ptr<Ui::ConfigureFilesystem> ui;
|
||||||
|
QProgressDialog* install_progress = nullptr;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user