aboutsummaryrefslogtreecommitdiff
path: root/discord_rich_presence.h
blob: e7ecc6ef990c544a1cc46da93e48e1a548999b6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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