SA-MP/raknet/RakNetworkFactory.h

25 lines
590 B
C
Raw Normal View History

2023-11-17 23:54:20 +08:00
#ifndef __RAK_NETWORK_FACTORY_H
#define __RAK_NETWORK_FACTORY_H
#include "Export.h"
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:
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
static void DestroyRakClientInterface( RakClientInterface* i );
static void DestroyRakServerInterface( RakServerInterface* i );
static void DestroyRakPeerInterface( RakPeerInterface* i );
2023-11-17 23:54:20 +08:00
};
#endif