mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-12-22 18:45:38 +00:00
Changing kebab case filenames in source to snake case for consistency
This commit is contained in:
parent
4055565147
commit
e8091f5137
2
build.py
2
build.py
|
@ -136,7 +136,7 @@ def unreal(ctx):
|
||||||
UNREAL_PROJECT_PATH = os.path.join(SCRIPT_PATH, 'examples', 'unrealstatus', 'Plugins', 'discordrpc')
|
UNREAL_PROJECT_PATH = os.path.join(SCRIPT_PATH, 'examples', 'unrealstatus', 'Plugins', 'discordrpc')
|
||||||
UNREAL_INCLUDE_PATH = os.path.join(UNREAL_PROJECT_PATH, 'Source', 'ThirdParty', 'DiscordRpcLibrary', 'Include')
|
UNREAL_INCLUDE_PATH = os.path.join(UNREAL_PROJECT_PATH, 'Source', 'ThirdParty', 'DiscordRpcLibrary', 'Include')
|
||||||
mkdir_p(UNREAL_INCLUDE_PATH)
|
mkdir_p(UNREAL_INCLUDE_PATH)
|
||||||
shutil.copy(os.path.join(SCRIPT_PATH, 'include', 'discord-rpc.h'), UNREAL_INCLUDE_PATH)
|
shutil.copy(os.path.join(SCRIPT_PATH, 'include', 'discord_rpc.h'), UNREAL_INCLUDE_PATH)
|
||||||
|
|
||||||
if sys.platform.startswith('win'):
|
if sys.platform.startswith('win'):
|
||||||
LIBRARY_NAME = 'discord-rpc.lib'
|
LIBRARY_NAME = 'discord-rpc.lib'
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include "discord-rpc.h"
|
#include "discord_rpc.h"
|
||||||
|
|
||||||
static const char* APPLICATION_ID = "345229890980937739";
|
static const char* APPLICATION_ID = "345229890980937739";
|
||||||
static int FrustrationLevel = 0;
|
static int FrustrationLevel = 0;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "DiscordRpcPrivatePCH.h"
|
#include "DiscordRpcPrivatePCH.h"
|
||||||
#include "DiscordRpcBlueprint.h"
|
#include "DiscordRpcBlueprint.h"
|
||||||
#include "discord-rpc.h"
|
#include "discord_rpc.h"
|
||||||
|
|
||||||
DEFINE_LOG_CATEGORY(Discord)
|
DEFINE_LOG_CATEGORY(Discord)
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,8 @@ option(USE_STATIC_CRT "Use /MT[d] for dynamic library" OFF)
|
||||||
set(CMAKE_CXX_STANDARD 14)
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
|
|
||||||
set(BASE_RPC_SRC
|
set(BASE_RPC_SRC
|
||||||
${PROJECT_SOURCE_DIR}/include/discord-rpc.h
|
${PROJECT_SOURCE_DIR}/include/discord_rpc.h
|
||||||
discord-rpc.cpp
|
discord_rpc.cpp
|
||||||
${PROJECT_SOURCE_DIR}/include/discord_register.h
|
${PROJECT_SOURCE_DIR}/include/discord_register.h
|
||||||
rpc_connection.h
|
rpc_connection.h
|
||||||
rpc_connection.cpp
|
rpc_connection.cpp
|
||||||
|
@ -129,7 +129,7 @@ install(
|
||||||
|
|
||||||
install(
|
install(
|
||||||
FILES
|
FILES
|
||||||
"../include/discord-rpc.h"
|
"../include/discord_rpc.h"
|
||||||
"../include/discord_register.h"
|
"../include/discord_register.h"
|
||||||
DESTINATION "include"
|
DESTINATION "include"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "discord-rpc.h"
|
#include "discord_rpc.h"
|
||||||
#include "discord_register.h"
|
#include "discord_register.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "discord-rpc.h"
|
#include "discord_rpc.h"
|
||||||
#include "discord_register.h"
|
#include "discord_register.h"
|
||||||
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "discord-rpc.h"
|
#include "discord_rpc.h"
|
||||||
|
|
||||||
#include "backoff.h"
|
#include "backoff.h"
|
||||||
#include "discord_register.h"
|
#include "discord_register.h"
|
|
@ -1,6 +1,6 @@
|
||||||
#include "serialization.h"
|
#include "serialization.h"
|
||||||
#include "connection.h"
|
#include "connection.h"
|
||||||
#include "discord-rpc.h"
|
#include "discord_rpc.h"
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
void NumberToString(char* dest, T number)
|
void NumberToString(char* dest, T number)
|
||||||
|
|
Loading…
Reference in a new issue