OpenTTD Source
12.0-beta2
|
Go to the documentation of this file.
21 const char *
GetName()
const override {
return "sdl"; }
DriverFactoryBase(Driver::Type type, int priority, const char *name, const char *description)
Construct a new DriverFactory.
const char * GetName() const override
Get the name of this driver.
std::vector< std::string > StringList
Type for a list of strings.
@ DT_SOUND
A sound driver.
Base for all sound drivers.
const char * Start(const StringList ¶m) override
Start this driver.
Factory for the SDL sound driver.
Driver * CreateInstance() const override
Create an instance of this driver-class.
void Stop() override
Stop this driver.
A driver for communicating with the user.
Implementation of the SDL sound driver.
Base for all driver factories.