Changing kebab case filenames in source to snake case for consistency

This commit is contained in:
Mason Sciotti 2018-02-27 13:33:00 -08:00
parent 4055565147
commit e8091f5137
9 changed files with 10 additions and 10 deletions

View file

@ -136,7 +136,7 @@ def unreal(ctx):
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')
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'):
LIBRARY_NAME = 'discord-rpc.lib'

View file

@ -9,7 +9,7 @@
#include <string.h>
#include <time.h>
#include "discord-rpc.h"
#include "discord_rpc.h"
static const char* APPLICATION_ID = "345229890980937739";
static int FrustrationLevel = 0;

View file

@ -1,6 +1,6 @@
#include "DiscordRpcPrivatePCH.h"
#include "DiscordRpcBlueprint.h"
#include "discord-rpc.h"
#include "discord_rpc.h"
DEFINE_LOG_CATEGORY(Discord)

View file

@ -6,8 +6,8 @@ option(USE_STATIC_CRT "Use /MT[d] for dynamic library" OFF)
set(CMAKE_CXX_STANDARD 14)
set(BASE_RPC_SRC
${PROJECT_SOURCE_DIR}/include/discord-rpc.h
discord-rpc.cpp
${PROJECT_SOURCE_DIR}/include/discord_rpc.h
discord_rpc.cpp
${PROJECT_SOURCE_DIR}/include/discord_register.h
rpc_connection.h
rpc_connection.cpp
@ -129,7 +129,7 @@ install(
install(
FILES
"../include/discord-rpc.h"
"../include/discord_rpc.h"
"../include/discord_register.h"
DESTINATION "include"
)

View file

@ -1,4 +1,4 @@
#include "discord-rpc.h"
#include "discord_rpc.h"
#include "discord_register.h"
#include <stdio.h>

View file

@ -1,4 +1,4 @@
#include "discord-rpc.h"
#include "discord_rpc.h"
#include "discord_register.h"
#define WIN32_LEAN_AND_MEAN

View file

@ -1,4 +1,4 @@
#include "discord-rpc.h"
#include "discord_rpc.h"
#include "backoff.h"
#include "discord_register.h"

View file

@ -1,6 +1,6 @@
#include "serialization.h"
#include "connection.h"
#include "discord-rpc.h"
#include "discord_rpc.h"
template <typename T>
void NumberToString(char* dest, T number)