The reader and writer now work again.

This commit is contained in:
David Given
2022-09-02 23:11:21 +02:00
parent 2319243444
commit f2699c4f1e
8 changed files with 1182 additions and 837 deletions

View File

@@ -4,6 +4,7 @@
#include "flags.h"
class CwfFluxSourceProto;
class DiskFlux;
class EraseFluxSourceProto;
class Fl2FluxSourceProto;
class FluxSourceProto;
@@ -38,6 +39,8 @@ private:
static std::unique_ptr<FluxSource> createTestPatternFluxSource(const TestPatternFluxSourceProto& config);
public:
static std::unique_ptr<FluxSource> createMemoryFluxSource(const DiskFlux& flux);
static std::unique_ptr<FluxSource> create(const FluxSourceProto& spec);
static void updateConfigForFilename(FluxSourceProto* proto, const std::string& filename);