base discord rpc

This commit is contained in:
2023-06-02 13:18:09 +02:00
parent 14efe2cc39
commit bbfe341d23
54 changed files with 17169 additions and 2 deletions

15
include/misc/DiscordRPC.h Normal file
View 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