diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-10 18:35:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-10 18:35:16 +0300 |
commit | 9c53b966c34d505e27681f2ed51998d3a737a663 (patch) | |
tree | 689af8fb285a3192e20c6906e4b84f54b0db0c32 /src/utils/stringutils.h | |
parent | 4df1e68047488ec00a264c076bb3222715f42295 (diff) | |
download | manaverse-9c53b966c34d505e27681f2ed51998d3a737a663.tar.gz manaverse-9c53b966c34d505e27681f2ed51998d3a737a663.tar.bz2 manaverse-9c53b966c34d505e27681f2ed51998d3a737a663.tar.xz manaverse-9c53b966c34d505e27681f2ed51998d3a737a663.zip |
Add pathJoin functions for join parts of path.
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r-- | src/utils/stringutils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h index 4db1041ef..6c2b6f097 100644 --- a/src/utils/stringutils.h +++ b/src/utils/stringutils.h @@ -275,4 +275,11 @@ std::string escapeString(std::string str); void sanitizePath(std::string &path); +std::string pathJoin(std::string str1, + const std::string &str2); + +std::string pathJoin(std::string str1, + const std::string &str2, + const std::string &str3); + #endif // UTILS_STRINGUTILS_H |