/* filesystem/vfile.h This file is part of the Osirion project and is distributed under the terms of the GNU General Public License version 2 */ #ifndef __INCLUDED_FILESYSTEM_VFILE_H__ #define __INCLUDED_FILESYSTEM_VFILE_H__ // project headers #include "filesystem/filesystem.h" namespace filesystem { /// a file in the virtual file system class VFile { public: /// search the path for a file in the virtual /** If the file can not be found in any of the data directories, * an empty string will be returned */ static std::string find(const char *filename); /// returns true if a file exists in the virtual filesystem static bool exists(const char *filename); }; } #endif //__INCLUDED_FILESYSTEM_VFILE_H__