stub unix
This commit is contained in:
parent
9e31f96691
commit
79823706e8
2 changed files with 46 additions and 1 deletions
|
@ -12,3 +12,7 @@ if(WIN32)
|
||||||
target_include_directories(discord-rpc PRIVATE ${RAPIDJSON}/include)
|
target_include_directories(discord-rpc PRIVATE ${RAPIDJSON}/include)
|
||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
|
|
||||||
|
if(UNIX)
|
||||||
|
add_library(discord-rpc STATIC ${BASE_RPC_SRC} connection_unix.cpp)
|
||||||
|
target_include_directories(discord-rpc PRIVATE ${RAPIDJSON}/include)
|
||||||
|
endif(UNIX)
|
||||||
|
|
41
src/connection_unix.cpp
Normal file
41
src/connection_unix.cpp
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
#include "connection.h"
|
||||||
|
|
||||||
|
/*static*/ RpcConnection* RpcConnection::Create(const char* applicationId)
|
||||||
|
{
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*static*/ void RpcConnection::Destroy(RpcConnection*&)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void RpcConnection::Open()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void RpcConnection::Close()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void RpcConnection::Write(const void* data, size_t length)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
RpcMessageFrame* RpcConnection::Read()
|
||||||
|
{
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
RpcMessageFrame* RpcConnection::GetNextFrame()
|
||||||
|
{
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
void RpcConnection::WriteFrame(RpcMessageFrame* frame)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue