#pragma once #include #include #include #include namespace scwx { namespace qt { namespace settings { class GeneralSettingsImpl; 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& debug_enabled() const; SettingsVariable& default_radar_site() const; SettingsContainer>& font_sizes() const; SettingsVariable& grid_height() const; SettingsVariable& grid_width() const; SettingsVariable& mapbox_api_key() const; friend bool operator==(const GeneralSettings& lhs, const GeneralSettings& rhs); private: std::unique_ptr p; }; } // namespace settings } // namespace qt } // namespace scwx