
If you don't want to see this commit on blames, use the hidden whitespace option on GitHub, or use `-w` in git-blame.
35 lines
640 B
C++
35 lines
640 B
C++
#ifndef DISCORD_RICH_PRESENCE_H
|
|
#define DISCORD_RICH_PRESENCE_H
|
|
|
|
#include <QDebug>
|
|
#include <cstring>
|
|
#include <ctime>
|
|
#include <discord-rpc.h>
|
|
#include <string>
|
|
|
|
#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();
|
|
};
|
|
|
|
} // namespace AttorneyOnline
|
|
#endif // DISCORD_RICH_PRESENCE_H
|