Refactor all the image writing stuff into a ImageWriter subclass hierarchy with

a factory based on extension.
This commit is contained in:
David Given
2019-08-08 00:27:41 +02:00
parent d8172154c3
commit 38fab7edcb
7 changed files with 219 additions and 104 deletions

View File

@@ -79,6 +79,8 @@ class ImageSpec
{
public:
ImageSpec(const DataSpec& dataspec);
ImageSpec(const std::string filename,
unsigned cylinders, unsigned heads, unsigned sectors, unsigned bytes);
public:
std::string filename;