added new stone/brick tiles set
[supertux.git] / src / file_system.h
1 #ifndef __FILESYSTEM_H__
2 #define __FILESYSTEM_H__
3
4 #include <set>
5 #include <string>
6
7 namespace FileSystem
8 {
9   bool faccessible(const std::string& filename);
10   bool fcreatedir(const std::string& relative_dir);
11   bool fwriteable(const std::string& filename);
12   std::set<std::string> read_directory(const std::string& pathname);
13   std::set<std::string> dsubdirs(const std::string& rel_path,
14           const std::string& expected_file);
15   std::set<std::string> dfiles(const std::string& rel_path,
16           const std::string& glob, const std::string& exception_str);
17   std::string dirname(const std::string& filename);
18 }
19
20 #endif
21