1 #ifndef _FILE_MANAGER_HH_
2 #define _FILE_MANAGER_HH_
11 std::string WorldsRoot;
13 std::string stripFilename(
const std::string& path );
18 inline const std::string
worldsRoot()
const {
return WorldsRoot; }
20 inline void newWorld(
const std::string& worldfile ) {
21 WorldsRoot = stripFilename( worldfile ); }
24 static bool readable(
const std::string& path );
31 static std::string
findFile(
const std::string& filename );