2019-04-02 21:13:42 +00:00
|
|
|
// Copyright 2019 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2019-04-02 21:13:42 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
namespace NetPlay
|
|
|
|
{
|
|
|
|
class NetPlayClient;
|
|
|
|
}
|
|
|
|
|
|
|
|
class NetPlayGolfUI
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
explicit NetPlayGolfUI(std::shared_ptr<NetPlay::NetPlayClient> netplay_client);
|
2019-05-29 10:17:24 +00:00
|
|
|
~NetPlayGolfUI();
|
2019-04-02 21:13:42 +00:00
|
|
|
|
|
|
|
void Display();
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::weak_ptr<NetPlay::NetPlayClient> m_netplay_client;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern std::unique_ptr<NetPlayGolfUI> g_netplay_golf_ui;
|