mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
Add imgui golf mode overlay
This commit is contained in:
27
Source/Core/VideoCommon/NetPlayGolfUI.h
Normal file
27
Source/Core/VideoCommon/NetPlayGolfUI.h
Normal file
@ -0,0 +1,27 @@
|
||||
// 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;
|
Reference in New Issue
Block a user