summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/NetPlayGolfUI.h
blob: fc815a75e9e10240ad4be6297cdf902514c1b8db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2019 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include <memory>

namespace NetPlay
{
class NetPlayClient;
}

class NetPlayGolfUI
{
public:
  explicit NetPlayGolfUI(std::weak_ptr<NetPlay::NetPlayClient> netplay_client);
  ~NetPlayGolfUI();

  void Display();

private:
  std::weak_ptr<NetPlay::NetPlayClient> m_netplay_client;
};

extern std::unique_ptr<NetPlayGolfUI> g_netplay_golf_ui;