More config machinery: the reader now reads (but can't put the resulting image

anywhere).
This commit is contained in:
David Given
2021-05-12 00:26:42 +02:00
parent cf9cef6f87
commit df0a9bac96
15 changed files with 194 additions and 48 deletions

View File

@@ -7,6 +7,7 @@ extern FlagGroup hardwareFluxSourceFlags;
class Fluxmap;
class FluxSpec;
class Config_InputDisk;
class FluxSource
{
@@ -20,6 +21,7 @@ private:
public:
static std::unique_ptr<FluxSource> create(const FluxSpec& spec);
static std::unique_ptr<FluxSource> create(const Config_InputDisk& spec);
public:
virtual std::unique_ptr<Fluxmap> readFlux(int track, int side) = 0;