2023-11-17 23:54:20 +08:00
|
|
|
|
|
|
|
#ifndef __RAK_NETWORK_FACTORY_H
|
|
|
|
#define __RAK_NETWORK_FACTORY_H
|
|
|
|
|
|
|
|
#include "Export.h"
|
|
|
|
|
2023-12-16 23:25:47 +08:00
|
|
|
class RakClientInterface;
|
2023-11-17 23:54:20 +08:00
|
|
|
class RakServerInterface;
|
2023-11-18 00:00:52 +08:00
|
|
|
class RakPeerInterface;
|
2023-11-17 23:54:20 +08:00
|
|
|
|
|
|
|
class RAK_DLL_EXPORT RakNetworkFactory
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
2023-12-16 23:25:47 +08:00
|
|
|
static RakClientInterface* GetRakClientInterface( void );
|
2023-11-17 23:54:20 +08:00
|
|
|
static RakServerInterface* GetRakServerInterface( void );
|
2023-11-18 00:00:52 +08:00
|
|
|
static RakPeerInterface* GetRakPeerInterface( void );
|
2023-11-17 23:54:20 +08:00
|
|
|
|
2023-12-16 23:25:47 +08:00
|
|
|
static void DestroyRakClientInterface( RakClientInterface* i );
|
|
|
|
static void DestroyRakServerInterface( RakServerInterface* i );
|
|
|
|
static void DestroyRakPeerInterface( RakPeerInterface* i );
|
2023-11-17 23:54:20 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|