2021-09-08 20:08:43 +00:00
|
|
|
// 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,
|
2023-02-13 01:58:17 +00:00
|
|
|
TapServer,
|
2023-12-03 07:37:28 +00:00
|
|
|
BuiltIn,
|
|
|
|
ModemTapServer
|
2021-09-08 20:08:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
explicit BroadbandAdapterSettingsDialog(QWidget* target, Type bba_type);
|
|
|
|
|
|
|
|
private:
|
|
|
|
QLineEdit* m_address_input;
|
|
|
|
Type m_bba_type;
|
|
|
|
|
|
|
|
void InitControls();
|
|
|
|
void SaveAddress();
|
|
|
|
};
|