mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 18:39:18 +02:00
work
This commit is contained in:
18
network/manager.h
Normal file
18
network/manager.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
#include <asio.hpp>
|
||||
#include <memory>
|
||||
#include "network/network.h"
|
||||
|
||||
namespace network
|
||||
{
|
||||
class manager
|
||||
{
|
||||
asio::io_context io_context;
|
||||
std::vector<std::shared_ptr<server>> servers;
|
||||
|
||||
public:
|
||||
manager();
|
||||
|
||||
void poll();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user