summaryrefslogtreecommitdiff
path: root/src/yuzu/install_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/yuzu/install_dialog.h')
-rw-r--r--src/yuzu/install_dialog.h35
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