diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-26 14:05:29 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-26 14:05:29 -0500 |
commit | 2adce1795211fd0a42c3b4e03ab35a90bb01bccf (patch) | |
tree | 7fda2f874f0653e4c74edaaf1547fe9802b2005a /src/tracker_config.h | |
parent | 7fc0e0f50ae961efbe0cac1032b03a42d41d87d5 (diff) | |
download | lingo-ap-tracker-2adce1795211fd0a42c3b4e03ab35a90bb01bccf.tar.gz lingo-ap-tracker-2adce1795211fd0a42c3b4e03ab35a90bb01bccf.tar.bz2 lingo-ap-tracker-2adce1795211fd0a42c3b4e03ab35a90bb01bccf.zip |
Stop relying on correctly set working directory
Diffstat (limited to 'src/tracker_config.h')
-rw-r--r-- | src/tracker_config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tracker_config.h b/src/tracker_config.h index 0a29d2c..b95194e 100644 --- a/src/tracker_config.h +++ b/src/tracker_config.h | |||
@@ -5,6 +5,8 @@ | |||
5 | 5 | ||
6 | class TrackerConfig { | 6 | class TrackerConfig { |
7 | public: | 7 | public: |
8 | explicit TrackerConfig(const std::string& filename) : filename_(filename) {} | ||
9 | |||
8 | void Load(); | 10 | void Load(); |
9 | 11 | ||
10 | void Save(); | 12 | void Save(); |
@@ -16,6 +18,9 @@ class TrackerConfig { | |||
16 | bool should_check_for_updates = false; | 18 | bool should_check_for_updates = false; |
17 | bool hybrid_areas = false; | 19 | bool hybrid_areas = false; |
18 | bool show_hunt_panels = false; | 20 | bool show_hunt_panels = false; |
21 | |||
22 | private: | ||
23 | std::string filename_; | ||
19 | }; | 24 | }; |
20 | 25 | ||
21 | TrackerConfig& GetTrackerConfig(); | 26 | TrackerConfig& GetTrackerConfig(); |