about summary refs log tree commit diff stats
path: root/src/tracker_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tracker_config.h')
-rw-r--r--src/tracker_config.h5
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
6class TrackerConfig { 6class 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
21TrackerConfig& GetTrackerConfig(); 26TrackerConfig& GetTrackerConfig();