openMSX
fdc
DiskFactory.hh
Go to the documentation of this file.
1
#ifndef DISKFACTORY_HH
2
#define DISKFACTORY_HH
3
4
#include "
DirAsDSK.hh
"
5
#include "
EnumSetting.hh
"
6
#include <string>
7
8
namespace
openmsx
{
9
10
class
Reactor;
11
class
DiskChanger
;
12
class
Disk;
13
14
class
DiskFactory
15
{
16
public
:
17
explicit
DiskFactory
(
Reactor
& reactor);
18
[[nodiscard]] std::unique_ptr<Disk>
createDisk
(
19
const
std::string& diskImage,
DiskChanger
& diskChanger);
20
21
private
:
22
Reactor
& reactor;
23
EnumSetting<DirAsDSK::SyncMode>
syncDirAsDSKSetting;
24
EnumSetting<DirAsDSK::BootSectorType>
bootSectorSetting;
25
};
26
27
}
// namespace openmsx
28
29
#endif
// DISKFACTORY_HH
DirAsDSK.hh
EnumSetting.hh
openmsx::DiskChanger
Definition
DiskChanger.hh:41
openmsx::DiskFactory
Definition
DiskFactory.hh:15
openmsx::DiskFactory::createDisk
std::unique_ptr< Disk > createDisk(const std::string &diskImage, DiskChanger &diskChanger)
Definition
DiskFactory.cc:34
openmsx::EnumSetting
Definition
EnumSetting.hh:54
openmsx::Reactor
Contains the main loop of openMSX.
Definition
Reactor.hh:75
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:11
openmsx::DiskChanger
DiskChanger
Definition
DiskChanger.cc:404
Generated on Sun Dec 1 2024 22:13:41 for openMSX by
1.9.8