2019-11-20 20:47:10 +00:00
|
|
|
// Copyright 2019 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2019-11-20 20:47:10 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
class QComboBox;
|
|
|
|
class QRadioButton;
|
|
|
|
|
|
|
|
class GCMemcardCreateNewDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit GCMemcardCreateNewDialog(QWidget* parent = nullptr);
|
|
|
|
~GCMemcardCreateNewDialog();
|
|
|
|
|
|
|
|
std::string GetMemoryCardPath() const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool CreateCard();
|
|
|
|
|
|
|
|
QComboBox* m_combobox_size;
|
|
|
|
QRadioButton* m_radio_western;
|
|
|
|
QRadioButton* m_radio_shiftjis;
|
|
|
|
std::string m_card_path;
|
|
|
|
};
|