about summary refs log tree commit diff stats
path: root/src/ipc_state.h
blob: 84f3d2954b2764773d5665e69487b00a048ba021 (plain) (blame)
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
#ifndef IPC_STATE_H_6B3B0958
#define IPC_STATE_H_6B3B0958

#include <optional>
#include <set>
#include <string>
#include <tuple>

class TrackerFrame;

void IPC_SetTrackerFrame(TrackerFrame* tracker_frame);

void IPC_Connect(std::string address);

std::optional<std::string> IPC_GetStatusMessage();

void IPC_SetTrackerSlot(std::string server, std::string user);

bool IPC_IsConnected();

std::optional<std::tuple<int, int>> IPC_GetPlayerPosition();

const std::set<std::string>& IPC_GetSolvedPanels();

#endif /* end of include guard: IPC_STATE_H_6B3B0958 */