summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/GCMemcardCreateNewDialog.h
blob: 233145f941d4010910469c91bb9fd128c374f816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2019 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include <QDialog>

class QComboBox;
class QRadioButton;

class GCMemcardCreateNewDialog : public QDialog
{
  Q_OBJECT
public:
  explicit GCMemcardCreateNewDialog(QWidget* parent = nullptr);
  ~GCMemcardCreateNewDialog() override;

  std::string GetMemoryCardPath() const;

private:
  bool CreateCard();

  QComboBox* m_combobox_size;
  QRadioButton* m_radio_western;
  QRadioButton* m_radio_shiftjis;
  std::string m_card_path;
};