mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
GCMemcardManager: Add GUI to create new memory card.
This commit is contained in:
28
Source/Core/DolphinQt/GCMemcardCreateNewDialog.h
Normal file
28
Source/Core/DolphinQt/GCMemcardCreateNewDialog.h
Normal 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;
|
||||
};
|
Reference in New Issue
Block a user