GCMemcardManager: Add GUI to create new memory card.

This commit is contained in:
Admiral H. Curtiss
2019-11-20 21:47:10 +01:00
parent 4b00ddf9aa
commit e921cbe57c
6 changed files with 139 additions and 5 deletions

View File

@ -0,0 +1,28 @@
// Copyright 2019 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#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;
};