#ifndef SOURCE_GROUP_SETTINGS_WITH_CLASSPATH_H #define SOURCE_GROUP_SETTINGS_WITH_CLASSPATH_H #include #include #include #include "FilePath.h" #include "SourceGroupSettingsBase.h" class ConfigManager; class SourceGroupSettingsWithClasspath : virtual public SourceGroupSettingsBase { public: SourceGroupSettingsWithClasspath(); virtual ~SourceGroupSettingsWithClasspath() = default; bool equals(std::shared_ptr other) const; std::vector getClasspath() const; std::vector getClasspathExpandedAndAbsolute() const; void setClasspath(const std::vector& classpath); bool getUseJreSystemLibrary() const; void setUseJreSystemLibrary(bool useJreSystemLibrary); 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_classpath; bool m_useJreSystemLibrary; }; #endif // SOURCE_GROUP_SETTINGS_WITH_CLASSPATH_H