#pragma once #include #include #include #include namespace scwx { namespace qt { namespace settings { class ProductSettings : public SettingsCategory { public: explicit ProductSettings(); ~ProductSettings(); ProductSettings(const ProductSettings&) = delete; ProductSettings& operator=(const ProductSettings&) = delete; ProductSettings(ProductSettings&&) noexcept; ProductSettings& operator=(ProductSettings&&) noexcept; SettingsVariable& sti_forecast_enabled() const; SettingsVariable& sti_past_enabled() const; static ProductSettings& Instance(); friend bool operator==(const ProductSettings& lhs, const ProductSettings& rhs); bool Shutdown(); private: class Impl; std::unique_ptr p; }; } // namespace settings } // namespace qt } // namespace scwx