mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Added a functioning (I hope) sketch of the disassembling geometry mapper code.
This commit is contained in:
18
lib/geometry/geometry.h
Normal file
18
lib/geometry/geometry.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef DGMAPPER_H
|
||||
#define DGMAPPER_H
|
||||
|
||||
class Sector;
|
||||
class GeometryProto;
|
||||
class ImageReader;
|
||||
|
||||
class DisassemblingGeometryMapper
|
||||
{
|
||||
public:
|
||||
virtual const Sector* get(unsigned cylinder, unsigned head, unsigned sector) const = 0;
|
||||
};
|
||||
|
||||
extern std::unique_ptr<DisassemblingGeometryMapper> createSimpleDisassemblingGeometryMapper(
|
||||
const GeometryProto& proto, ImageReader& reader);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user