udp.h 415 B

12345678910111213141516171819202122232425
  1. // Copyright 2018 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include <memory>
  6. namespace InputCommon::CemuhookUDP {
  7. class Client;
  8. class State {
  9. public:
  10. State();
  11. ~State();
  12. void ReloadUDPClient();
  13. private:
  14. std::unique_ptr<Client> client;
  15. };
  16. std::unique_ptr<State> Init();
  17. } // namespace InputCommon::CemuhookUDP