14 return std::make_unique<DummyIDEDevice>();
17 if (type ==
"IDEHD") {
18 return std::make_unique<IDEHD>(config);
19 }
else if (type ==
"IDECDROM") {
20 return std::make_unique<IDECDROM>(config);
std::string_view getChildData(std::string_view name) const
const XMLElement * getXML() const
std::unique_ptr< IDEDevice > create(const DeviceConfig &config)