yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
mesen_client_registry.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EMU_MESEN_MESEN_CLIENT_REGISTRY_H_
2#define YAZE_APP_EMU_MESEN_MESEN_CLIENT_REGISTRY_H_
3
4#include <memory>
5
7
8namespace yaze {
9namespace emu {
10namespace mesen {
11
18 public:
19 static std::shared_ptr<MesenSocketClient>& GetClient();
20 static void SetClient(std::shared_ptr<MesenSocketClient> client);
21 static std::shared_ptr<MesenSocketClient> GetOrCreate();
22};
23
24} // namespace mesen
25} // namespace emu
26} // namespace yaze
27
28#endif // YAZE_APP_EMU_MESEN_MESEN_CLIENT_REGISTRY_H_
Shared Mesen2 socket client registry.
static void SetClient(std::shared_ptr< MesenSocketClient > client)
static std::shared_ptr< MesenSocketClient > GetOrCreate()
static std::shared_ptr< MesenSocketClient > & GetClient()