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 std::string_view NowindRomDisk::getContainerName() const
13 {
14  return "NowindRomDisk";
15 }
16 
18 {
19  return false;
20 }
21 
22 int NowindRomDisk::insertDisk(const std::string& /*filename*/)
23 {
24  return -1; // Can't change NowindRomDisk disk image
25 }
26 
27 template<typename Archive>
28 void NowindRomDisk::serialize(Archive& /*ar*/, unsigned /*version*/)
29 {
30 }
33 
34 } // namespace openmsx
void serialize(Archive &ar, unsigned version)
SectorAccessibleDisk * getSectorAccessibleDisk() override
Definition: NowindRomDisk.cc:7
int insertDisk(const std::string &filename) override
std::string_view getContainerName() const override
bool diskChanged() override
This file implemented 3 utility functions:
Definition: Autofire.cc:5
REGISTER_POLYMORPHIC_CLASS(DiskContainer, NowindRomDisk, "NowindRomDisk")
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)
Definition: serialize.hh:983