OpenTTD Source: SoundLoader Class Reference

OpenTTD Source 15.0-beta1

Public Member Functions
SoundLoader Class Referenceabstract

Base interface for a SoundLoader implementation. More...

`#include <soundloader_type.h>`

Inheritance diagram for SoundLoader:

## 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

## Detailed Description

Base interface for a SoundLoader implementation.

Definition at line 17 of file soundloader_type.h.

## Constructor & Destructor Documentation

## ◆ SoundLoader()

SoundLoader::SoundLoader | ( | std::string_view | name,
|  | std::string_view | description,
|  | int | priority
| ) |  |
| inline

Definition at line 19 of file soundloader_type.h.

## ◆ ~SoundLoader()

virtual SoundLoader::~SoundLoader | ( |  | ) |
| inlinevirtual

Definition at line 24 of file soundloader_type.h.

The documentation for this class was generated from the following file:

- src/soundloader_type.h