about summary refs log tree commit diff stats
path: root/src/ipc_state.h
blob: be7167361172d560c5168fe8e211c70c294f596c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef IPC_STATE_H_6B3B0958
#define IPC_STATE_H_6B3B0958

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

class TrackerFrame;

void IPC_Start(TrackerFrame* tracker_frame);

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();

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