Mirror actions now cache the horizontal flipped Surfaces, rather than flipping them...
[supertux.git] / lib / app / setup.h
index 4c91464..3acca6c 100644 (file)
@@ -31,12 +31,12 @@ namespace SuperTux {
 /// File system utility functions
 struct FileSystem
   {
-    static int faccessible(const char *filename);
-    static int fcreatedir(const char* relative_dir);
-    static int fwriteable(const char *filename);
+    static int faccessible(const std::string& filename);
+    static int fcreatedir(const std::string& relative_dir);
+    static int fwriteable(const std::string& filename);
     static std::set<std::string> read_directory(const std::string& pathname);
-    static std::set<std::string> dsubdirs(const char *rel_path, const char* expected_file);
-    static std::set<std::string> dfiles(const char *rel_path, const char* glob, const char* exception_str);
+    static std::set<std::string> dsubdirs(const std::string& rel_path, const std::string& expected_file);
+    static std::set<std::string> dfiles(const std::string& rel_path, const std::string& glob, const std::string& exception_str);
   };
 
 /// All you need to get an application up and running