29 lines
461 B
C
29 lines
461 B
C
|
// Copyright 2021 Dolphin Emulator Project
|
||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <QDialog>
|
||
|
|
||
|
class QLineEdit;
|
||
|
|
||
|
class BroadbandAdapterSettingsDialog final : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
enum class Type
|
||
|
{
|
||
|
Ethernet,
|
||
|
XLinkKai,
|
||
|
};
|
||
|
|
||
|
explicit BroadbandAdapterSettingsDialog(QWidget* target, Type bba_type);
|
||
|
|
||
|
private:
|
||
|
QLineEdit* m_address_input;
|
||
|
Type m_bba_type;
|
||
|
|
||
|
void InitControls();
|
||
|
void SaveAddress();
|
||
|
};
|