1
0
forked from 0ad/0ad
0ad/source/lib/file/common/file_loader.h
2008-07-17 14:23:51 +00:00

17 lines
392 B
C++

#ifndef INCLUDED_FILE_LOADER
#define INCLUDED_FILE_LOADER
struct IFileLoader
{
virtual ~IFileLoader();
virtual size_t Precedence() const = 0;
virtual char LocationCode() const = 0;
virtual LibError Load(const std::string& name, const shared_ptr<u8>& buf, size_t size) const = 0;
};
typedef shared_ptr<IFileLoader> PIFileLoader;
#endif // #ifndef INCLUDED_FILE_LOADER