PrismLauncher/launcher/ui/dialogs/ReviewMessageBox.h

30 lines
611 B
C
Raw Normal View History

#pragma once
#include <QDialog>
namespace Ui {
class ReviewMessageBox;
}
class ReviewMessageBox : public QDialog {
Q_OBJECT
public:
static auto create(QWidget* parent, QString&& title, QString&& icon = "") -> ReviewMessageBox*;
using ResourceInformation = struct {
QString name;
QString filename;
};
void appendResource(ResourceInformation&& info);
auto deselectedResources() -> QStringList;
~ReviewMessageBox() override;
protected:
ReviewMessageBox(QWidget* parent, const QString& title, const QString& icon);
Ui::ReviewMessageBox* ui;
};