mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-06 15:05:47 -07:00
(too many changes to list..) moved tex_* files to lib/tex archive builder and hotloading modules are disabled.\ This was SVN commit r5518.
16 lines
387 B
C++
16 lines
387 B
C++
#ifndef INCLUDED_FILE_LOADER
|
|
#define INCLUDED_FILE_LOADER
|
|
|
|
struct IFileLoader
|
|
{
|
|
virtual ~IFileLoader();
|
|
|
|
virtual unsigned Precedence() const = 0;
|
|
virtual char LocationCode() const = 0;
|
|
|
|
virtual LibError Load(const std::string& name, shared_ptr<u8> buf, size_t size) const = 0;
|
|
};
|
|
|
|
typedef shared_ptr<IFileLoader> PIFileLoader;
|
|
|
|
#endif // #ifndef INCLUDED_FILE_LOADER
|