#pragma once #include #include #include #include namespace scwx { namespace qt { namespace settings { class GeneralSettings : public SettingsCategory { public: explicit GeneralSettings(); ~GeneralSettings(); GeneralSettings(const GeneralSettings&) = delete; GeneralSettings& operator=(const GeneralSettings&) = delete; GeneralSettings(GeneralSettings&&) noexcept; GeneralSettings& operator=(GeneralSettings&&) noexcept; SettingsVariable& anti_aliasing_enabled() const; SettingsVariable& clock_format() const; SettingsVariable& custom_style_draw_layer() const; SettingsVariable& custom_style_url() const; SettingsVariable& debug_enabled() const; SettingsVariable& default_alert_action() const; SettingsVariable& default_radar_site() const; SettingsVariable& default_time_zone() const; SettingsContainer>& font_sizes() const; SettingsVariable& grid_height() const; SettingsVariable& grid_width() const; SettingsVariable& loop_delay() const; SettingsVariable& loop_speed() const; SettingsVariable& loop_time() const; SettingsVariable& map_provider() const; SettingsVariable& mapbox_api_key() const; SettingsVariable& maptiler_api_key() const; SettingsVariable& nmea_baud_rate() const; SettingsVariable& nmea_source() const; SettingsVariable& positioning_plugin() const; SettingsVariable& show_map_attribution() const; SettingsVariable& show_map_center() const; SettingsVariable& show_map_logo() const; SettingsVariable& theme() const; SettingsVariable& theme_file() const; SettingsVariable& track_location() const; SettingsVariable& update_notifications_enabled() const; SettingsVariable& warnings_provider() const; SettingsVariable& cursor_icon_always_on() const; static GeneralSettings& Instance(); friend bool operator==(const GeneralSettings& lhs, const GeneralSettings& rhs); bool Shutdown(); private: class Impl; std::unique_ptr p; }; } // namespace settings } // namespace qt } // namespace scwx