openMSX
Main Page
Namespaces
Classes
Files
File List
File Members
fdc
DSKDiskImage.hh
Go to the documentation of this file.
1
#ifndef DSKDISKIMAGE_HH
2
#define DSKDISKIMAGE_HH
3
4
#include "
SectorBasedDisk.hh
"
5
#include <memory>
6
7
namespace
openmsx {
8
9
class
File;
10
11
class
DSKDiskImage
:
public
SectorBasedDisk
12
{
13
public
:
14
explicit
DSKDiskImage
(
const
Filename
& filename);
15
DSKDiskImage
(
const
Filename
& filename,
const
std::shared_ptr<File>& file);
16
virtual
~DSKDiskImage
();
17
18
private
:
19
virtual
void
readSectorImpl(
size_t
sector,
byte
* buf);
20
virtual
void
writeSectorImpl(
size_t
sector,
const
byte
* buf);
21
virtual
bool
isWriteProtectedImpl()
const
;
22
virtual
Sha1Sum
getSha1Sum();
23
24
const
std::shared_ptr<File> file;
25
};
26
27
}
// namespace openmsx
28
29
#endif
Generated on Fri May 24 2013 22:17:58 for openMSX by
1.8.1.2