aboutsummaryrefslogtreecommitdiff
path: root/include/discord_rich_presence.h
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2018-12-26 16:43:08 +0100
committerDavid Skoland <davidskoland@gmail.com>2018-12-26 16:43:08 +0100
commit00cfd2750d39795e4c205aee2a33b92b1da2524d (patch)
tree839c1129418ca8fefe41e6814917f9dabb6efa4b /include/discord_rich_presence.h
parent6f1bce5882676ea7affe717a2f5a00b8c3b7fe12 (diff)
moved headers into include and cpp files into src + logo into resource
Diffstat (limited to 'include/discord_rich_presence.h')
-rw-r--r--include/discord_rich_presence.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/include/discord_rich_presence.h b/include/discord_rich_presence.h
new file mode 100644
index 00000000..e7ecc6ef
--- /dev/null
+++ b/include/discord_rich_presence.h
@@ -0,0 +1,34 @@
+#ifndef DISCORD_RICH_PRESENCE_H
+#define DISCORD_RICH_PRESENCE_H
+
+#include <cstring>
+#include <ctime>
+#include <QDebug>
+#include <string>
+#include <discord-rpc.h>
+
+#include <cstring>
+#include <ctime>
+
+#include <QDebug>
+
+namespace AttorneyOnline {
+
+class Discord
+{
+private:
+ const char* APPLICATION_ID = "399779271737868288";
+ std::string server_name, server_id;
+ int64_t timestamp;
+public:
+ Discord();
+ ~Discord();
+
+ void state_lobby();
+ void state_server(std::string name, std::string server_id);
+ void state_character(std::string name);
+ void state_spectate();
+};
+
+}
+#endif // DISCORD_RICH_PRESENCE_H