mirror of
https://github.com/starr-dusT/citra.git
synced 2024-10-02 10:26:17 -07:00
25 lines
445 B
C++
25 lines
445 B
C++
// Copyright 2019 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <functional>
|
|
#include <memory>
|
|
|
|
namespace Core::RPC {
|
|
|
|
class Packet;
|
|
|
|
class UDPServer {
|
|
public:
|
|
explicit UDPServer(std::function<void(std::unique_ptr<Packet>)> new_request_callback);
|
|
~UDPServer();
|
|
|
|
private:
|
|
class Impl;
|
|
std::unique_ptr<Impl> impl;
|
|
};
|
|
|
|
} // namespace Core::RPC
|