diff options
Diffstat (limited to 'src/settings_dialog.h')
-rw-r--r-- | src/settings_dialog.h | 24 |
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 | |||
10 | class 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 */ | ||