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
10
11namespace 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
This file contains the plugin interface.
Interface for network.
Definition INetwork.hpp:20
~INetwork() override=default
virtual bool connect(const std::string &host, uint16_t port)=0
Interface for plugins.
Definition IPlugin.hpp:46