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