示例#1
0
	RawData* VFS::open(const std::string& path) {
		FL_DBG(_log, LMsg("Opening: ") << path);

		VFSSource* source = getSourceForFile(path);
		if (!source)
			throw NotFound(path);

		return source->open(path);
	}
示例#2
0
	bool VFS::exists(const std::string& file) const {
		return getSourceForFile(file) != 0;
	}
示例#3
0
文件: vfs.cpp 项目: m64/PEG
	bool VFS::exists(const std::string& file) const {
		return getSourceForFile(lower(file));
	}