mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-11-27 20:34:21 +01:00
stub unix
This commit is contained in:
parent
9e31f96691
commit
79823706e8
@ -12,3 +12,7 @@ if(WIN32)
|
||||
target_include_directories(discord-rpc PRIVATE ${RAPIDJSON}/include)
|
||||
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 New Issue
Block a user