31 #include "soundprovider_type.h" 40 template<
class SoundProv
iderClass>
55 return new SoundProviderClass(filename, fs, stream);
63 return new SoundProviderClass(file, stream);
Sound provider.
Definition: soundprovider.h:45
I/O Device interface.
Definition: iodevice.h:49
virtual SoundProvider * load(IODevice &file, bool stream) override
Called to load static with this sound provider type.
Definition: soundprovider_type_register.h:59
SoundProviderType_Register(const std::string &type)
Registers sound provider type in the SoundProviderFactory.
Definition: soundprovider_type_register.h:45
Sound provider type.
Definition: soundprovider_type.h:43
Virtual File System (VFS).
Definition: file_system.h:46
virtual SoundProvider * load(const std::string &filename, bool stream, const FileSystem &fs) override
Called to load static with this sound provider type.
Definition: soundprovider_type_register.h:50
Class template to register a sound provider type.
Definition: soundprovider_type_register.h:41