Remove Init & Exit, logic is now in Win32Platform.cpp.

This commit is contained in:
Jean-Baptiste Perrier
2021-01-26 15:55:51 +01:00
parent 54b9eaa969
commit c20f0fa430
5 changed files with 18 additions and 39 deletions

View File

@@ -2,15 +2,6 @@
#include "NetworkBase.h"
bool NetworkBase::Init()
{
return true;
}
void NetworkBase::Exit()
{
}
bool NetworkBase::CreateSocket(NetworkSocket& socket, NetworkProtocolType proto, NetworkIPVersion ipv)
{
return true;

View File

@@ -74,17 +74,6 @@ struct FLAXENGINE_API NetworkSocketGroup
class FLAXENGINE_API NetworkBase
{
public:
/// <summary>
/// Initializes the network module.
/// </summary>
/// <returns>Return true on error. Otherwise false.</returns>
static bool Init();
/// <summary>
/// Deinitializes the network module.
/// </summary>
static void Exit();
/// <summary>
/// Creates a new native socket.
/// </summary>