mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-23 06:57:31 +08:00
118153f727
This commit implements: * GetRakClientInterface() * DestroyRakClientInterface() * DestroyRakServerInterface() * DestroyRakPeerInterface()
25 lines
590 B
C++
25 lines
590 B
C++
|
|
#ifndef __RAK_NETWORK_FACTORY_H
|
|
#define __RAK_NETWORK_FACTORY_H
|
|
|
|
#include "Export.h"
|
|
|
|
class RakClientInterface;
|
|
class RakServerInterface;
|
|
class RakPeerInterface;
|
|
|
|
class RAK_DLL_EXPORT RakNetworkFactory
|
|
{
|
|
public:
|
|
|
|
static RakClientInterface* GetRakClientInterface( void );
|
|
static RakServerInterface* GetRakServerInterface( void );
|
|
static RakPeerInterface* GetRakPeerInterface( void );
|
|
|
|
static void DestroyRakClientInterface( RakClientInterface* i );
|
|
static void DestroyRakServerInterface( RakServerInterface* i );
|
|
static void DestroyRakPeerInterface( RakPeerInterface* i );
|
|
};
|
|
|
|
#endif
|