Cleanup extension filename and bugfix session preview

This commit is contained in:
Bruno Herbelin
2022-01-12 23:16:23 +01:00
parent aab0c055ed
commit 1146a9125b
7 changed files with 28 additions and 17 deletions

View File

@@ -44,6 +44,7 @@ namespace SystemToolkit
// extract the extension of a filename
std::string extension_filename(const std::string& filename);
bool has_extension(const std::string& filename, const std::string& extension);
// tests if dir is a directory and return its path, empty string otherwise
std::string path_directory(const std::string& path);