2241904852e4d43ab34a4f7220adc36d6f91799e
[supertux.git] / file_system.hpp
1 #ifndef __FILESYSTEM_H__
2 #define __FILESYSTEM_H__
3
4 #include <set>
5 #include <string>
6
7 namespace FileSystem
8 {
9   std::string dirname(const std::string& filename);
10   std::string basename(const std::string& filename);
11   /**
12    * normalize filename so that "blup/bla/blo/../../bar" will become
13    * "blup/bar"
14    */
15   std::string normalize(const std::string& filename);
16 }
17
18 #endif
19