Add CIABuildDialog

This commit is contained in:
Pengfei
2021-08-04 00:35:01 +08:00
parent bbcad43d1c
commit 1f0a969cb7
7 changed files with 310 additions and 19 deletions
+27
View File
@@ -0,0 +1,27 @@
// Copyright 2021 threeSD Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <memory>
#include <utility>
#include <QDialog>
#include "core/ncch/cia_common.h"
namespace Ui {
class CIABuildDialog;
}
class CIABuildDialog : public QDialog {
Q_OBJECT
public:
explicit CIABuildDialog(QWidget* parent, bool is_dir, bool is_nand, bool enable_legit,
const QString& default_path);
~CIABuildDialog();
std::pair<QString, Core::CIABuildType> GetResults() const;
private:
std::unique_ptr<Ui::CIABuildDialog> ui;
bool is_dir;
};