summaryrefslogtreecommitdiffstats
path: root/src/yuzu/main.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-07-01 22:15:57 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-07-10 06:38:28 +0200
commit7f4d96d87332824643d7a8d3ff0fab7ea771b798 (patch)
tree2d1febc79d0411df29625e2d0d3fc0d0b2954a17 /src/yuzu/main.h
parentAdd support for batch install to NAND (diff)
downloadyuzu-7f4d96d87332824643d7a8d3ff0fab7ea771b798.tar
yuzu-7f4d96d87332824643d7a8d3ff0fab7ea771b798.tar.gz
yuzu-7f4d96d87332824643d7a8d3ff0fab7ea771b798.tar.bz2
yuzu-7f4d96d87332824643d7a8d3ff0fab7ea771b798.tar.lz
yuzu-7f4d96d87332824643d7a8d3ff0fab7ea771b798.tar.xz
yuzu-7f4d96d87332824643d7a8d3ff0fab7ea771b798.tar.zst
yuzu-7f4d96d87332824643d7a8d3ff0fab7ea771b798.zip
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r--src/yuzu/main.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h
index 55d072e96..deea8170d 100644
--- a/src/yuzu/main.h
+++ b/src/yuzu/main.h
@@ -48,6 +48,13 @@ enum class EmulatedDirectoryTarget {
SDMC,
};
+enum class InstallResult {
+ Success,
+ Overwrite,
+ AlreadyExists,
+ Failure,
+};
+
enum class ReinitializeKeyBehavior {
NoWarning,
Warning,
@@ -219,6 +226,10 @@ private slots:
private:
std::optional<u64> SelectRomFSDumpTarget(const FileSys::ContentProvider&, u64 program_id);
+ InstallResult InstallNSPXCI(const QString& filename, bool overwrite_files,
+ QProgressDialog& install_progress);
+ InstallResult InstallNCA(const QString& filename, bool overwrite_files,
+ QProgressDialog& install_progress);
void UpdateWindowTitle(const std::string& title_name = {},
const std::string& title_version = {});
void UpdateStatusBar();
@@ -273,9 +284,6 @@ private:
HotkeyRegistry hotkey_registry;
- // Install to NAND progress dialog
- QProgressDialog* install_progress;
-
protected:
void dropEvent(QDropEvent* event) override;
void dragEnterEvent(QDragEnterEvent* event) override;