add missing header guard

This commit is contained in:
Pengfei
2021-08-09 10:57:05 +08:00
parent d266207561
commit 6d87d48902
+29 -27
View File
@@ -1,27 +1,29 @@
// 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/file_sys/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;
};
// Copyright 2021 threeSD Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include <memory>
#include <utility>
#include <QDialog>
#include "core/file_sys/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;
};