diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-04-16 23:27:38 -0400 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-07-10 00:38:28 -0400 |
commit | 4c269e5ced47765f35dbb58afa9fcac8138a1f7c (patch) | |
tree | fdcb76c40ac436c0a01e4501a428c41a02212179 /src/yuzu/install_dialog.h | |
parent | 0974533c966e58f36312ac79fc958ab0c5cc080b (diff) |
Add support for batch install to NAND
This adds support to batch install files to NAND
Diffstat (limited to 'src/yuzu/install_dialog.h')
-rw-r--r-- | src/yuzu/install_dialog.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/yuzu/install_dialog.h b/src/yuzu/install_dialog.h new file mode 100644 index 000000000..3eaa9e60a --- /dev/null +++ b/src/yuzu/install_dialog.h @@ -0,0 +1,35 @@ +// Copyright 2020 yuzu Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include <QDialog> + +class QCheckBox; +class QDialogButtonBox; +class QHBoxLayout; +class QLabel; +class QListWidget; +class QVBoxLayout; + +class InstallDialog : public QDialog { + Q_OBJECT + +public: + explicit InstallDialog(QWidget* parent, const QStringList& files); + ~InstallDialog() override; + + QStringList GetFilenames() const; + bool ShouldOverwriteFiles() const; + +private: + QListWidget* file_list; + + QVBoxLayout* vbox_layout; + QHBoxLayout* hbox_layout; + + QLabel* description; + QCheckBox* overwrite_files; + QDialogButtonBox* buttons; +};
\ No newline at end of file |