src: file extension for header and source in config

header and source extensions are now in the projectsettings
This commit is contained in:
Andreas Stallinger
2015-03-18 15:48:59 +01:00
parent e3f1f004a0
commit 69ea6adddd
5 changed files with 25 additions and 8 deletions
+12
View File
@@ -30,3 +30,15 @@ bool ProjectSettings::setSourcePaths(const std::vector<std::string>& sourcePaths
{
return setValues("source/SourcePaths/SourcePath", sourcePaths);
}
std::vector<std::string> ProjectSettings::getHeaderExtensions() const
{
std::vector<std::string> defaultValues;
return getValues("source/Extensions/HeaderExtensions", defaultValues);
}
std::vector<std::string> ProjectSettings::getSourceExtensions() const
{
std::vector<std::string> defaultValues;
return getValues("source/Extensions/SourceExtensions", defaultValues);
}