diff options
Diffstat (limited to 'src/ipc_state.h')
| -rw-r--r-- | src/ipc_state.h | 23 |
1 files changed, 23 insertions, 0 deletions
| diff --git a/src/ipc_state.h b/src/ipc_state.h new file mode 100644 index 0000000..0e6fa51 --- /dev/null +++ b/src/ipc_state.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | #ifndef IPC_STATE_H_6B3B0958 | ||
| 2 | #define IPC_STATE_H_6B3B0958 | ||
| 3 | |||
| 4 | #include <optional> | ||
| 5 | #include <set> | ||
| 6 | #include <string> | ||
| 7 | #include <tuple> | ||
| 8 | |||
| 9 | class TrackerFrame; | ||
| 10 | |||
| 11 | void IPC_SetTrackerFrame(TrackerFrame* tracker_frame); | ||
| 12 | |||
| 13 | void IPC_Connect(std::string address); | ||
| 14 | |||
| 15 | std::optional<std::string> IPC_GetStatusMessage(); | ||
| 16 | |||
| 17 | void IPC_SetTrackerSlot(std::string server, std::string user); | ||
| 18 | |||
| 19 | bool IPC_IsConnected(); | ||
| 20 | |||
| 21 | std::optional<std::tuple<int, int>> IPC_GetPlayerPosition(); | ||
| 22 | |||
| 23 | #endif /* end of include guard: IPC_STATE_H_6B3B0958 */ | ||
