Use new config system for Discord Rich Presence option

This doesn't feel like a mirror change to me.
This commit is contained in:
Sleepy Flower Girl
2018-06-06 00:16:42 -04:00
parent f25d833dbd
commit 57bd13a0ce
9 changed files with 42 additions and 47 deletions

View File

@ -4,9 +4,14 @@
#pragma once
#include "Common/Config/Config.h"
namespace Discord
{
void Init();
void UpdateDiscordPresence();
void Shutdown();
void SetDiscordPresenceEnabled(bool enabled);
} // namespace Discord
extern const Config::ConfigInfo<bool> MAIN_USE_DISCORD_PRESENCE;