mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
28 lines
459 B
C++
28 lines
459 B
C++
#ifndef IMAGE_H
|
|
#define IMAGE_H
|
|
|
|
class SectorSet;
|
|
|
|
class Geometry
|
|
{
|
|
public:
|
|
int tracks;
|
|
int heads;
|
|
int sectors;
|
|
int sectorSize;
|
|
};
|
|
|
|
extern Geometry guessGeometry(const SectorSet& sectors);
|
|
|
|
extern void readSectorsFromFile(
|
|
SectorSet& sectors,
|
|
const Geometry& geometry,
|
|
const std::string& filename);
|
|
|
|
extern void writeSectorsToFile(
|
|
const SectorSet& sectors,
|
|
const Geometry& geometry,
|
|
const std::string& filename);
|
|
|
|
#endif
|