Class template to register a sound provider type. More...
#include <soundprovider_type_register.h>
Public Member Functions | |
SoundProviderType_Register (const std::string &type) | |
Registers sound provider type in the SoundProviderFactory. | |
std::unique_ptr< SoundProvider > | load (const std::string &filename, bool stream, const FileSystem &fs) override |
Called to load static with this sound provider type. | |
std::unique_ptr< SoundProvider > | load (IODevice &file, bool stream) override |
Called to load static with this sound provider type. | |
![]() | |
SoundProviderType (const std::string &type) | |
Registers a sound provider type in the SoundProviderFactory. | |
virtual | ~SoundProviderType () |
Unregisters a sound provider type in the SoundProviderFactory. | |
Class template to register a sound provider type.
|
inline |
Registers sound provider type in the SoundProviderFactory.
|
inlineoverridevirtual |
Called to load static with this sound provider type.
Implements clan::SoundProviderType.
|
inlineoverridevirtual |
Called to load static with this sound provider type.
Implements clan::SoundProviderType.