atrooney-online-2/discord_rich_presence.h
Cerapter d314b8dd07 Moved includes out of the CPP files into the header files.
Reimplementation of `30a87d23c9c63bed072b3460e7482075dc530b2c` from the
old origin.
2018-08-19 09:37:34 +02:00

32 lines
557 B
C++

#ifndef DISCORD_RICH_PRESENCE_H
#define DISCORD_RICH_PRESENCE_H
#include <string>
#include <discord-rpc.h>
#include <cstring>
#include <ctime>
#include <QDebug>
namespace AttorneyOnline {
class Discord
{
private:
const char* APPLICATION_ID = "474362730397302823";
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