mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-07 00:39:26 +00:00
Preliminary work for a title info dialog
pending DRY fixes, etc
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
// Copyright 2021 threeSD Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include <memory>
|
||||
#include <QDialog>
|
||||
#include "core/file_sys/smdh.h"
|
||||
|
||||
namespace Core {
|
||||
class Config;
|
||||
class ContentSpecifier;
|
||||
class SDMCImporter;
|
||||
} // namespace Core
|
||||
|
||||
namespace Ui {
|
||||
class TitleInfoDialog;
|
||||
}
|
||||
|
||||
class TitleInfoDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit TitleInfoDialog(QWidget* parent, const Core::Config& config,
|
||||
Core::SDMCImporter& importer, const Core::ContentSpecifier& specifier);
|
||||
~TitleInfoDialog();
|
||||
|
||||
private:
|
||||
void InitializeInfo(const Core::Config& config, Core::SDMCImporter& importer,
|
||||
const Core::ContentSpecifier& specifier);
|
||||
void InitializeLanguageComboBox();
|
||||
void UpdateNames();
|
||||
|
||||
std::unique_ptr<Ui::TitleInfoDialog> ui;
|
||||
Core::SMDH smdh{};
|
||||
};
|
||||
Reference in New Issue
Block a user