mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
28 lines
497 B
C++
28 lines
497 B
C++
// Copyright 2019 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
namespace NetPlay
|
|
{
|
|
class NetPlayClient;
|
|
}
|
|
|
|
class NetPlayGolfUI
|
|
{
|
|
public:
|
|
explicit NetPlayGolfUI(std::shared_ptr<NetPlay::NetPlayClient> netplay_client);
|
|
~NetPlayGolfUI() = default;
|
|
|
|
void Display();
|
|
|
|
private:
|
|
std::weak_ptr<NetPlay::NetPlayClient> m_netplay_client;
|
|
};
|
|
|
|
extern std::unique_ptr<NetPlayGolfUI> g_netplay_golf_ui;
|