about summary refs log tree commit diff stats
path: root/src/settings_dialog.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-17 10:11:41 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-17 10:11:41 -0500
commita9bc708c7eeeada4c59952ce71aa071175f8f27d (patch)
treeb55d7ae50b2e96a44319ba7ec97cebe32fe2febf /src/settings_dialog.h
parent2ee15755735ff6243d3e3b1c2ade4d9bbe0b6dc6 (diff)
downloadlingo-ap-tracker-a9bc708c7eeeada4c59952ce71aa071175f8f27d.tar.gz
lingo-ap-tracker-a9bc708c7eeeada4c59952ce71aa071175f8f27d.tar.bz2
lingo-ap-tracker-a9bc708c7eeeada4c59952ce71aa071175f8f27d.zip
Added hybrid areas and settings dialog
Diffstat (limited to 'src/settings_dialog.h')
-rw-r--r--src/settings_dialog.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/settings_dialog.h b/src/settings_dialog.h new file mode 100644 index 0000000..150a7a8 --- /dev/null +++ b/src/settings_dialog.h
@@ -0,0 +1,24 @@
1#ifndef SETTINGS_DIALOG_H_D8635719
2#define SETTINGS_DIALOG_H_D8635719
3
4#include <wx/wxprec.h>
5
6#ifndef WX_PRECOMP
7#include <wx/wx.h>
8#endif
9
10class SettingsDialog : public wxDialog {
11 public:
12 SettingsDialog();
13
14 bool GetShouldCheckForUpdates() const {
15 return should_check_for_updates_box_->GetValue();
16 }
17 bool GetHybridAreas() const { return hybrid_areas_box_->GetValue(); }
18
19 private:
20 wxCheckBox* should_check_for_updates_box_;
21 wxCheckBox* hybrid_areas_box_;
22};
23
24#endif /* end of include guard: SETTINGS_DIALOG_H_D8635719 */