diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-03 15:13:14 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-03 15:13:14 -0400 |
commit | f2a4553fa9d64cc39d138531d0a8d662af733ef8 (patch) | |
tree | b2c7a0fe753fe2ea132b0582e8f1b7521303f3e1 /tracker_config.h | |
parent | dc4a14397ae226d91041389c2a47993f9c22f83d (diff) | |
download | lingo-ap-tracker-f2a4553fa9d64cc39d138531d0a8d662af733ef8.tar.gz lingo-ap-tracker-f2a4553fa9d64cc39d138531d0a8d662af733ef8.tar.bz2 lingo-ap-tracker-f2a4553fa9d64cc39d138531d0a8d662af733ef8.zip |
Connection details are saved locally
Diffstat (limited to 'tracker_config.h')
-rw-r--r-- | tracker_config.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tracker_config.h b/tracker_config.h new file mode 100644 index 0000000..e2e6cd7 --- /dev/null +++ b/tracker_config.h | |||
@@ -0,0 +1,19 @@ | |||
1 | #ifndef TRACKER_CONFIG_H_36CDD648 | ||
2 | #define TRACKER_CONFIG_H_36CDD648 | ||
3 | |||
4 | #include <string> | ||
5 | |||
6 | class TrackerConfig { | ||
7 | public: | ||
8 | void Load(); | ||
9 | |||
10 | void Save(); | ||
11 | |||
12 | std::string ap_server; | ||
13 | std::string ap_player; | ||
14 | std::string ap_password; | ||
15 | }; | ||
16 | |||
17 | TrackerConfig& GetTrackerConfig(); | ||
18 | |||
19 | #endif /* end of include guard: TRACKER_CONFIG_H_36CDD648 */ | ||