aboutsummaryrefslogtreecommitdiff
path: root/include/discord_rich_presence.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/discord_rich_presence.h')
-rw-r--r--include/discord_rich_presence.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/discord_rich_presence.h b/include/discord_rich_presence.h
index 77c0eff7..42de59e2 100644
--- a/include/discord_rich_presence.h
+++ b/include/discord_rich_presence.h
@@ -1,9 +1,12 @@
#ifndef DISCORD_RICH_PRESENCE_H
#define DISCORD_RICH_PRESENCE_H
+#include <QCoreApplication>
#include <QDebug>
#include <cstring>
#include <ctime>
+#include <string>
+
#include <discord-rpc.h>
#include <string>
@@ -15,6 +18,8 @@
namespace AttorneyOnline {
class Discord {
+ Q_DECLARE_TR_FUNCTIONS(Discord)
+
private:
const char *APPLICATION_ID = "399779271737868288";
std::string server_name, server_id;