mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-31 18:32:43 +00:00
Move s_using_custom_client to DiscordPresence.cpp
Otherwise, files that include the header get warning: ‘Discord::s_using_custom_client’ defined but not used.
This commit is contained in:
parent
b316ce6fdd
commit
8b98dd9be3
@ -24,6 +24,8 @@
|
|||||||
|
|
||||||
namespace Discord
|
namespace Discord
|
||||||
{
|
{
|
||||||
|
static bool s_using_custom_client = false;
|
||||||
|
|
||||||
#ifdef USE_DISCORD_PRESENCE
|
#ifdef USE_DISCORD_PRESENCE
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
@ -27,8 +27,6 @@ enum class SecretType
|
|||||||
RoomID,
|
RoomID,
|
||||||
};
|
};
|
||||||
|
|
||||||
static bool s_using_custom_client = false;
|
|
||||||
|
|
||||||
void Init();
|
void Init();
|
||||||
void InitNetPlayFunctionality(Handler& handler);
|
void InitNetPlayFunctionality(Handler& handler);
|
||||||
void CallPendingCallbacks();
|
void CallPendingCallbacks();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user