2019-08-24 13:57:49 +00:00
|
|
|
// Copyright 2018 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2020-02-03 14:09:06 +00:00
|
|
|
#pragma once
|
|
|
|
|
2019-08-24 13:57:49 +00:00
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
namespace InputCommon::CemuhookUDP {
|
|
|
|
|
2020-02-03 14:10:59 +00:00
|
|
|
class Client;
|
2019-08-24 13:57:49 +00:00
|
|
|
|
|
|
|
class State {
|
|
|
|
public:
|
|
|
|
State();
|
|
|
|
~State();
|
|
|
|
void ReloadUDPClient();
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::unique_ptr<Client> client;
|
|
|
|
};
|
|
|
|
|
|
|
|
std::unique_ptr<State> Init();
|
|
|
|
|
|
|
|
} // namespace InputCommon::CemuhookUDP
|