summaryrefslogtreecommitdiff
path: root/src/KM_fileio.h
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2009-06-22 05:49:02 +0000
committerjhurst <>2009-06-22 05:49:02 +0000
commita84ec32cfc61397feeb577637744031cc64d862d (patch)
treea64185ae139d51e1b76fab7e2e9c00f5ef25628d /src/KM_fileio.h
parente34beed6313ea4add7539608ecb92082728778f1 (diff)
new log and fileio features
XMLElement parse bugfix (was ignoring well-formedness errors)
Diffstat (limited to 'src/KM_fileio.h')
-rwxr-xr-xsrc/KM_fileio.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/KM_fileio.h b/src/KM_fileio.h
index b38429f..0eb921b 100755
--- a/src/KM_fileio.h
+++ b/src/KM_fileio.h
@@ -136,7 +136,7 @@ namespace Kumu
bool PathsAreEquivalent(const std::string& lhs, const std::string& rhs); // true if paths point to the same filesystem entry
// Returns free space and total space available for the given path
- Result_t FreeSpaceForPath(const std::string& path, Kumu::fsize_t& free_space, Kumu::fsize_t& total_space);
+ Result_t FreeSpaceForPath(const std::string& path, Kumu::fsize_t& free_space, Kumu::fsize_t& total_space);
// split and reassemble paths as lists of path components
PathCompList_t& PathToComponents(const std::string& Path, PathCompList_t& CList, char separator = '/'); // removes '//'
@@ -155,6 +155,11 @@ namespace Kumu
std::string PathGetExtension(const std::string& Path); // returns everything in the right-most element following the right-most '.'
std::string PathSetExtension(const std::string& Path, const std::string& Extension); // empty extension removes '.' as well
+ std::string PathJoin(const std::string& Path1, const std::string& Path2, char separator = '/');
+ std::string PathJoin(const std::string& Path1, const std::string& Path2, const std::string& Path3, char separator = '/');
+ std::string PathJoin(const std::string& Path1, const std::string& Path2,
+ const std::string& Path3, const std::string& Path4, char separator = '/');
+
//------------------------------------------------------------------------------------------
// Path Search