#ifndef SOURCE_GROUP_SETTINGS_WITH_SOURCE_PATHS_H #define SOURCE_GROUP_SETTINGS_WITH_SOURCE_PATHS_H #include #include #include #include "SourceGroupSettingsBase.h" class ConfigManager; class FilePath; class SourceGroupSettingsWithSourcePaths : virtual public SourceGroupSettingsBase { public: SourceGroupSettingsWithSourcePaths(); virtual ~SourceGroupSettingsWithSourcePaths() = default; bool equals(std::shared_ptr other) const; std::vector getSourcePaths() const; std::vector getSourcePathsExpandedAndAbsolute() const; void setSourcePaths(const std::vector& sourcePaths); protected: void load(std::shared_ptr config, const std::string& key); void save(std::shared_ptr config, const std::string& key); private: std::vector m_sourcePaths; }; #endif // SOURCE_GROUP_SETTINGS_WITH_SOURCE_PATHS_H