31 #include "util/base/exception.h"
34 #include "zipprovider.h"
35 #include "zipsource.h"
41 if (file.find(
".zip") == std::string::npos)
45 if (!getVFS()->
exists(file))
58 throw Exception(
"File " + file +
" is not readable.");
bool exists(const std::string &file) const
bool isReadable(const std::string &file) const
VFSSource * createSource(const std::string &file) const
credit to phoku for his NodeDisplay example which the visitor code is adapted from ( he coded the qua...