22 #ifndef FIFE_VFS_VFSSOURCEPROVIDER_H
23 #define FIFE_VFS_VFSSOURCEPROVIDER_H
34 #include "util/base/exception.h"
58 const std::string&
getName()
const;
66 if(!m_vfs)
throw NotSet(
"Attempt to load from VFSSourceProvider without setting a VFS!");
76 virtual bool isReadable(
const std::string& file)
const = 0;
const std::string & getName() const
virtual VFSSource * createSource(const std::string &file) const =0
virtual bool isReadable(const std::string &file) const =0
credit to phoku for his NodeDisplay example which the visitor code is adapted from ( he coded the qua...