projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added FileSystem::join("dir", "file") -> "dir/file"
[supertux.git]
/
src
/
util
/
file_system.hpp
diff --git
a/src/util/file_system.hpp
b/src/util/file_system.hpp
index
5cdda27
..
0e97835
100644
(file)
--- a/
src/util/file_system.hpp
+++ b/
src/util/file_system.hpp
@@
-40,6
+40,11
@@
std::string strip_extension(const std::string& filename);
*/
std::string normalize(const std::string& filename);
+/**
+ * join two filenames join("foo", "bar") -> "foo/bar"
+ */
+std::string join(const std::string& lhs, const std::string& rhs);
+
} // namespace FileSystem
#endif