mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 03:09:57 +01:00
Added option Recorder file naming style
VideoRecorder and PNGRecorder now have setting to decide how to name the files, with date prefix or sequentially numbered. A base name is given with session filename.
This commit is contained in:
@@ -58,6 +58,12 @@ namespace SystemToolkit
|
||||
// builds the absolute path (starting with '/') of relativePath starting from relativeTo (e.g. ../c/d rel to /a/b/e -> /a/b/c/d)
|
||||
std::string path_absolute_from_path(const std::string& relativePath, const std::string& relativeTo);
|
||||
|
||||
// generates a filename at given path, with basename and inerative suffix
|
||||
std::string filename_sequential(const std::string& path, const std::string& base, const std::string& extension);
|
||||
|
||||
// generates a filename at given path, with basename and date prefix
|
||||
std::string filename_dateprefix(const std::string& path, const std::string& base, const std::string& extension);
|
||||
|
||||
// true of file exists
|
||||
bool file_exists(const std::string& path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user