Merge branch 'discord'
This commit is contained in:
15
include/misc/DiscordRPC.h
Normal file
15
include/misc/DiscordRPC.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace td {
|
||||
namespace utils {
|
||||
|
||||
void InitDiscordRPC();
|
||||
void UpdateDiscordRPC();
|
||||
void ShutdownDiscordRPC();
|
||||
|
||||
void UpdateDiscordPresence(const std::string& state, const std::string& details, bool resetTimer = false);
|
||||
|
||||
} // namespace utils
|
||||
} // namespace td
|
||||
Reference in New Issue
Block a user