Added meta information in session file XML, for quick access to file

info (SessionCreator::info), displayed in the user interface (list of
sessions in quick access).
This commit is contained in:
brunoherbelin
2020-07-04 10:18:26 +02:00
parent 3f0def5c26
commit 84cd772644
8 changed files with 72 additions and 16 deletions

View File

@@ -15,13 +15,16 @@ namespace SystemToolkit
// get fixed length string (17 chars) YYYYMMDDHHmmssiii
std::string date_time_string();
// get the OS dependent username
std::string username();
// get the OS dependent home path
std::string home_path();
// get the OS dependent path where to store settings
std::string settings_path();
// builds the OS dependent complete file name for a settings file
// builds the OS dependent complete file name
std::string full_filename(const std::string& path, const std::string& filename);
// extract the filename from a full path / URI (e.g. file:://home/me/toto.mpg -> toto.mpg)