|
OpenTTD Source 20251117-master-g7398d2e290
|
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< std::byte > &data) const =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.