mirror of
				https://github.com/dolphin-emu/dolphin.git
				synced 2025-10-26 18:09:20 +00:00 
			
		
		
		
	SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			446 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			446 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // 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::shared_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;
 |