| 1 | // Copyright 2019 Dolphin Emulator Project |
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include <QDialog> |
| 7 | |
| 8 | class QComboBox; |
| 9 | class QRadioButton; |
| 10 | |
| 11 | class GCMemcardCreateNewDialog : public QDialog |
| 12 | { |
| 13 | Q_OBJECT |
| 14 | public: |
| 15 | explicit GCMemcardCreateNewDialog(QWidget* parent = nullptr); |
| 16 | ~GCMemcardCreateNewDialog() override; |
| 17 | |
| 18 | std::string GetMemoryCardPath() const; |
| 19 | |
| 20 | private: |
| 21 | bool CreateCard(); |
| 22 | |
| 23 | QComboBox* m_combobox_size; |
| 24 | QRadioButton* m_radio_western; |
| 25 | QRadioButton* m_radio_shiftjis; |
| 26 | std::string m_card_path; |
| 27 | }; |