data: saving and loading Storage with sqlite file next to project file

This commit is contained in:
Eberhard Graether
2015-09-17 12:08:25 +02:00
parent f702b79892
commit a14bfaff56
12 changed files with 37 additions and 33 deletions
+5
View File
@@ -135,6 +135,11 @@ FilePath FilePath::withoutExtension() const
return FilePath(boost::filesystem::path(m_path).replace_extension());
}
FilePath FilePath::replaceExtension(const std::string& extension)
{
return FilePath(boost::filesystem::path(m_path).replace_extension(extension));
}
bool FilePath::hasExtension(const std::vector<std::string>& extensions) const
{
std::string e = extension();