diff options
Diffstat (limited to 'include/discord_rich_presence.h')
| -rw-r--r-- | include/discord_rich_presence.h | 14 |
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 |
