Danbias/Code/Game/DanBiasServer/DanBiasServerAPI.h

38 lines
820 B
C
Raw Normal View History

/////////////////////////////////////////
// Created by [Dennis Andersen] [2013] //
/////////////////////////////////////////
2013-12-03 12:07:37 +01:00
#ifndef DANBIAS_SERVER_DANBIAS_SERVER_H
#define DANBIAS_SERVER_DANBIAS_SERVER_H
2013-12-13 23:47:16 +01:00
#include <vld.h>
2013-12-12 09:33:59 +01:00
#define DANBIAS_SERVER
2013-12-03 12:07:37 +01:00
2013-12-12 09:33:59 +01:00
#ifdef DANBIAS_SERVER_DLL_EXPORT
2013-12-03 12:07:37 +01:00
#define DANBIAS_SERVER_DLL __declspec(dllexport)
#else
#define DANBIAS_SERVER_DLL __declspec(dllimport)
#endif
namespace DanBias
{
2013-12-12 09:33:59 +01:00
enum DanBiasServerReturn
2013-12-03 12:07:37 +01:00
{
2013-12-12 09:33:59 +01:00
DanBiasServerReturn_Error,
DanBiasServerReturn_Sucess,
};
2013-12-03 12:07:37 +01:00
2013-12-12 09:33:59 +01:00
extern "C"
{
class DANBIAS_SERVER_DLL DanBiasServerAPI
2013-12-03 12:07:37 +01:00
{
public:
2013-12-12 09:33:59 +01:00
static DanBiasServerReturn Initiate();
2013-12-03 12:07:37 +01:00
static DanBiasServerReturn Run();
2013-12-04 11:37:26 +01:00
static DanBiasServerReturn Release();
2013-12-12 09:33:59 +01:00
};//End class DanBiasServer
2013-12-03 12:07:37 +01:00
}//End Extern "C"
} //End namspace DanBias
#endif // !DANBIAS_SERVER_DANBIAS_SERVER_H