mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-01 21:52:41 +02:00

This expands the tapserver BBA interface to be available on all platforms. tapserver itself is still macOS-only, but newserv (the PSO server) is not, and it can directly accept local and remote tapserver connections as well. This makes the tapserver interface potentially useful on all platforms.
31 lines
488 B
C++
31 lines
488 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,
|
|
TapServer,
|
|
BuiltIn
|
|
};
|
|
|
|
explicit BroadbandAdapterSettingsDialog(QWidget* target, Type bba_type);
|
|
|
|
private:
|
|
QLineEdit* m_address_input;
|
|
Type m_bba_type;
|
|
|
|
void InitControls();
|
|
void SaveAddress();
|
|
};
|