cae
0.0.0
Cross-API graphics engine
Loading...
Searching...
No Matches
INetwork.hpp
Go to the documentation of this file.
1
///
2
/// @file INetwork.hpp
3
/// @brief This file contains the network interface
4
/// @namespace cae
5
///
6
7
#pragma once
8
9
#include "
Utils/Interfaces/IPlugin.hpp
"
10
11
namespace
cae
12
{
13
14
///
15
/// @interface INetwork
16
/// @brief Interface for network
17
/// @namespace cae
18
///
19
class
INetwork
:
public
utl::IPlugin
20
{
21
22
public
:
23
~INetwork
()
override
=
default
;
24
25
virtual
bool
connect
(
const
std::string &host, uint16_t port) = 0;
26
27
};
// interface INetwork
28
29
}
// namespace cae
IPlugin.hpp
This file contains the plugin interface.
cae::INetwork
Interface for network.
Definition
INetwork.hpp:20
cae::INetwork::~INetwork
~INetwork() override=default
cae::INetwork::connect
virtual bool connect(const std::string &host, uint16_t port)=0
utl::IPlugin
Interface for plugins.
Definition
IPlugin.hpp:46
cae
modules
Interfaces
include
Interfaces
Network
INetwork.hpp
Generated by
1.11.0