mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
New Session class to contain the list of sources. Loading and Saving of
session files in XML. Verified deletion of Nodes, Groups and Sources.
This commit is contained in:
@@ -12,13 +12,23 @@
|
||||
|
||||
namespace SystemToolkit
|
||||
{
|
||||
// get the OS dependent path where to store settings
|
||||
std::string settingsPath();
|
||||
// builds the OS dependent complete file name for a settings file
|
||||
std::string settingsFileCompletePath(std::string basefilename);
|
||||
// get fixed length string (17 chars) YYYYMMDDHHmmssiii
|
||||
std::string date_time_string();
|
||||
|
||||
bool fileExists(const std::string& path);
|
||||
bool createDirectory(const std::string& 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
|
||||
std::string settings_prepend_path(const std::string& basefilename);
|
||||
|
||||
// extract the base file name from a full URI (e.g. file:://home/me/toto.mpg -> toto)
|
||||
std::string base_filename(const std::string& uri);
|
||||
|
||||
// true of file exists
|
||||
bool file_exists(const std::string& path);
|
||||
|
||||
// true if directory could be created
|
||||
bool create_directory(const std::string& path);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user