aboutsummaryrefslogtreecommitdiff
path: root/include/discord_rich_presence.h
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2020-05-22 19:17:55 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2020-05-22 19:17:55 -0500
commitfd1855b8d0ecaa56ae3165ad5d8f3bd65ff77a64 (patch)
tree9c27d658dd8f19e649e1742b0fd39104a50a3ca6 /include/discord_rich_presence.h
parent8928aa2718378bc42d20d5bbe6c17be68d65d6f3 (diff)
parent4617e3135ed14a28c4129154486022947fda9d82 (diff)
Merge KFO source unconditionally into AO2
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;