openMSX
IDEDeviceFactory.hh
Go to the documentation of this file.
1 #ifndef IDEDEVICEFACTORY_HH
2 #define IDEDEVICEFACTORY_HH
3 
4 #include <memory>
5 
6 namespace openmsx {
7 
8 class IDEDevice;
9 class DeviceConfig;
10 
11 namespace IDEDeviceFactory
12 {
13  std::unique_ptr<IDEDevice> create(const DeviceConfig& config);
14 }
15 
16 } // namespace openmsx
17 
18 #endif
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
std::unique_ptr< IDEDevice > create(const DeviceConfig &config)