summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-10 18:35:16 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-10 18:35:16 +0300
commit9c53b966c34d505e27681f2ed51998d3a737a663 (patch)
tree689af8fb285a3192e20c6906e4b84f54b0db0c32 /src/utils/stringutils.h
parent4df1e68047488ec00a264c076bb3222715f42295 (diff)
downloadmanaverse-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.h7
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