aboutsummaryrefslogtreecommitdiff
path: root/include/discord_rich_presence.h
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2020-05-22 17:02:32 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2020-05-22 17:02:32 -0500
commit156a760ebab6839c53f9c613881f0937e814414a (patch)
treefd9fafecd25fbd66f0e4f8101f856c8cf68b790e /include/discord_rich_presence.h
parentd89a4370a753f6e1da22349866b1b00f638884a6 (diff)
Full revert to tag 2.6.2
Due to a countless number of changes made to the core that were not fully understood, tested, or documented, it was decided to roll everything back to the last known stable version (2.6.2). Changes dropped include: - Witness needed - Shake - Frame SFX - Multiple custom objections - Multithreaded thumbnail generation - Looping - Various translation additions - "Mirror IC" - Color in IC log - An invocation of clang-format Next time, work together and split your big fork into independently testable feature branches.
Diffstat (limited to 'include/discord_rich_presence.h')
-rw-r--r--include/discord_rich_presence.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/include/discord_rich_presence.h b/include/discord_rich_presence.h
index 71c85e25..e7ecc6ef 100644
--- a/include/discord_rich_presence.h
+++ b/include/discord_rich_presence.h
@@ -1,12 +1,10 @@
#ifndef DISCORD_RICH_PRESENCE_H
#define DISCORD_RICH_PRESENCE_H
-#include <QCoreApplication>
-#include <QDebug>
#include <cstring>
#include <ctime>
+#include <QDebug>
#include <string>
-
#include <discord-rpc.h>
#include <cstring>
@@ -16,14 +14,12 @@
namespace AttorneyOnline {
-class Discord {
- Q_DECLARE_TR_FUNCTIONS(Discord)
-
+class Discord
+{
private:
- const char *APPLICATION_ID = "399779271737868288";
+ const char* APPLICATION_ID = "399779271737868288";
std::string server_name, server_id;
int64_t timestamp;
-
public:
Discord();
~Discord();
@@ -34,5 +30,5 @@ public:
void state_spectate();
};
-} // namespace AttorneyOnline
+}
#endif // DISCORD_RICH_PRESENCE_H