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