NetPlayGolfUI.h 446 B

1234567891011121314151617181920212223242526
  1. // Copyright 2019 Dolphin Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include <memory>
  5. namespace NetPlay
  6. {
  7. class NetPlayClient;
  8. }
  9. class NetPlayGolfUI
  10. {
  11. public:
  12. explicit NetPlayGolfUI(std::shared_ptr<NetPlay::NetPlayClient> netplay_client);
  13. ~NetPlayGolfUI();
  14. void Display();
  15. private:
  16. std::weak_ptr<NetPlay::NetPlayClient> m_netplay_client;
  17. };
  18. extern std::unique_ptr<NetPlayGolfUI> g_netplay_golf_ui;