mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
30 lines
473 B
C++
30 lines
473 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,
|
|
BuiltIn
|
|
};
|
|
|
|
explicit BroadbandAdapterSettingsDialog(QWidget* target, Type bba_type);
|
|
|
|
private:
|
|
QLineEdit* m_address_input;
|
|
Type m_bba_type;
|
|
|
|
void InitControls();
|
|
void SaveAddress();
|
|
};
|