OpenTTD Source 20241224-master-gee860a5c8e
|
Base interface for a SoundLoader implementation. More...
#include <soundloader_type.h>
Public Member Functions | |
SoundLoader (std::string_view name, std::string_view description, int priority) | |
virtual bool | Load (SoundEntry &sound, bool new_format, std::vector< uint8_t > &data)=0 |
Public Member Functions inherited from PriorityBaseProvider< SoundLoader > | |
constexpr | PriorityBaseProvider (std::string_view name, std::string_view description, int priority) |
int | GetPriority () const |
Public Member Functions inherited from BaseProvider< T > | |
constexpr | BaseProvider (std::string_view name, std::string_view description) |
std::string_view | GetName () const |
std::string_view | GetDescription () const |
Additional Inherited Members | |
Protected Attributes inherited from PriorityBaseProvider< SoundLoader > | |
const int | priority |
Protected Attributes inherited from BaseProvider< T > | |
const std::string_view | name |
const std::string_view | description |
Base interface for a SoundLoader implementation.
Definition at line 17 of file soundloader_type.h.
|
inline |
Definition at line 19 of file soundloader_type.h.
|
inlinevirtual |
Definition at line 24 of file soundloader_type.h.