openMSX
NowindRomDisk.cc
Go to the documentation of this file.
1 #include "NowindRomDisk.hh"
2 #include "serialize.hh"
3 #include "serialize_meta.hh"
4 
5 namespace openmsx {
6 
8 {
9  return nullptr;
10 }
11 
12 const std::string& NowindRomDisk::getContainerName() const
13 {
14  static const std::string NAME = "NowindRomDisk";
15  return NAME;
16 }
17 
19 {
20  return false;
21 }
22 
23 int NowindRomDisk::insertDisk(std::string_view /*filename*/)
24 {
25  return -1; // Can't change NowindRomDisk disk image
26 }
27 
28 template<typename Archive>
29 void NowindRomDisk::serialize(Archive& /*ar*/, unsigned /*version*/)
30 {
31 }
34 
35 } // namespace openmsx
openmsx::SectorAccessibleDisk
Definition: SectorAccessibleDisk.hh:16
serialize.hh
openmsx::DiskContainer
Definition: DiskContainer.hh:15
serialize_meta.hh
openmsx::NowindRomDisk::diskChanged
bool diskChanged() override
Definition: NowindRomDisk.cc:18
openmsx::NowindRomDisk::getSectorAccessibleDisk
SectorAccessibleDisk * getSectorAccessibleDisk() override
Definition: NowindRomDisk.cc:7
openmsx::NowindRomDisk
Definition: NowindRomDisk.hh:9
openmsx::NowindRomDisk::getContainerName
const std::string & getContainerName() const override
Definition: NowindRomDisk.cc:12
INSTANTIATE_SERIALIZE_METHODS
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)
Definition: serialize.hh:982
NowindRomDisk.hh
openmsx::NowindRomDisk::insertDisk
int insertDisk(std::string_view filename) override
Definition: NowindRomDisk.cc:23
openmsx::REGISTER_POLYMORPHIC_CLASS
REGISTER_POLYMORPHIC_CLASS(DiskContainer, NowindRomDisk, "NowindRomDisk")
openmsx::NowindRomDisk::serialize
void serialize(Archive &ar, unsigned version)
Definition: NowindRomDisk.cc:29
openmsx
This file implemented 3 utility functions:
Definition: Autofire.cc:5