aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs/ReviewMessageBox.h
diff options
context:
space:
mode:
authorflow <thiagodonato300@gmail.com>2022-03-13 11:50:18 -0300
committerflow <thiagodonato300@gmail.com>2022-03-13 11:50:18 -0300
commitb3b613d8b4a5012d22b9e1646f4367fd27c783e3 (patch)
treef4ab9a381b95987e91f1f6eb7129cfcb30cd57f9 /launcher/ui/dialogs/ReviewMessageBox.h
parentb96572774fd13fea7bc0ec0110bf0bde1e898ffe (diff)
downloadPrismLauncher-b3b613d8b4a5012d22b9e1646f4367fd27c783e3.tar.gz
PrismLauncher-b3b613d8b4a5012d22b9e1646f4367fd27c783e3.tar.bz2
PrismLauncher-b3b613d8b4a5012d22b9e1646f4367fd27c783e3.zip
feat(ui): make a better "Mod download confirmation dialog"
Diffstat (limited to 'launcher/ui/dialogs/ReviewMessageBox.h')
-rw-r--r--launcher/ui/dialogs/ReviewMessageBox.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/launcher/ui/dialogs/ReviewMessageBox.h b/launcher/ui/dialogs/ReviewMessageBox.h
new file mode 100644
index 00000000..48742cd9
--- /dev/null
+++ b/launcher/ui/dialogs/ReviewMessageBox.h
@@ -0,0 +1,23 @@
+#pragma once
+
+#include <QDialog>
+
+namespace Ui {
+class ReviewMessageBox;
+}
+
+class ReviewMessageBox final : public QDialog {
+ Q_OBJECT
+
+ public:
+ static auto create(QWidget* parent, QString&& title, QString&& icon = "") -> ReviewMessageBox*;
+
+ void appendMod(const QString& name, const QString& filename);
+
+ ~ReviewMessageBox();
+
+ private:
+ ReviewMessageBox(QWidget* parent, const QString& title, const QString& icon);
+
+ Ui::ReviewMessageBox* ui;
+};