aboutsummaryrefslogtreecommitdiff
path: root/include/discord_rich_presence.h
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2020-05-22 17:13:17 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2020-05-22 17:13:37 -0500
commit8928aa2718378bc42d20d5bbe6c17be68d65d6f3 (patch)
treebf90d3e73519d58cc89e2135b613e308ac0a0ed8 /include/discord_rich_presence.h
parent156a760ebab6839c53f9c613881f0937e814414a (diff)
Perform clang-format
If you don't want to see this commit on blames, use the hidden whitespace option on GitHub, or use `-w` in git-blame.
Diffstat (limited to 'include/discord_rich_presence.h')
-rw-r--r--include/discord_rich_presence.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/discord_rich_presence.h b/include/discord_rich_presence.h
index e7ecc6ef..77c0eff7 100644
--- a/include/discord_rich_presence.h
+++ b/include/discord_rich_presence.h
@@ -1,11 +1,11 @@
#ifndef DISCORD_RICH_PRESENCE_H
#define DISCORD_RICH_PRESENCE_H
+#include <QDebug>
#include <cstring>
#include <ctime>
-#include <QDebug>
-#include <string>
#include <discord-rpc.h>
+#include <string>
#include <cstring>
#include <ctime>
@@ -14,12 +14,12 @@
namespace AttorneyOnline {
-class 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();
@@ -30,5 +30,5 @@ public:
void state_spectate();
};
-}
+} // namespace AttorneyOnline
#endif // DISCORD_RICH_PRESENCE_H