mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-08 04:09:59 +00:00
99ceb03a1c
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
44 lines
825 B
C++
44 lines
825 B
C++
// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <QWidget>
|
|
|
|
class QLineEdit;
|
|
|
|
namespace Ui {
|
|
class ConfigureFilesystem;
|
|
}
|
|
|
|
class ConfigureFilesystem : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ConfigureFilesystem(QWidget* parent = nullptr);
|
|
~ConfigureFilesystem() override;
|
|
|
|
void ApplyConfiguration();
|
|
|
|
private:
|
|
void changeEvent(QEvent* event) override;
|
|
|
|
void RetranslateUI();
|
|
void SetConfiguration();
|
|
|
|
enum class DirectoryTarget {
|
|
NAND,
|
|
SD,
|
|
Gamecard,
|
|
Dump,
|
|
Load,
|
|
};
|
|
|
|
void SetDirectory(DirectoryTarget target, QLineEdit* edit);
|
|
void ResetMetadata();
|
|
void UpdateEnabledControls();
|
|
|
|
std::unique_ptr<Ui::ConfigureFilesystem> ui;
|
|
};
|