2016-09-19 01:18:11 +00:00
|
|
|
//
|
|
|
|
// Disk.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 18/09/2016.
|
|
|
|
// Copyright © 2016 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef StaticAnalyser_Acorn_Disk_hpp
|
|
|
|
#define StaticAnalyser_Acorn_Disk_hpp
|
|
|
|
|
|
|
|
#include "File.hpp"
|
|
|
|
#include "../../Storage/Disk/Disk.hpp"
|
|
|
|
|
|
|
|
namespace StaticAnalyser {
|
|
|
|
namespace Acorn {
|
|
|
|
|
2016-09-19 11:35:02 +00:00
|
|
|
struct Catalogue {
|
|
|
|
std::string name;
|
|
|
|
std::list<File> files;
|
|
|
|
enum class BootOption {
|
|
|
|
None,
|
|
|
|
LoadBOOT,
|
|
|
|
RunBOOT,
|
|
|
|
ExecBOOT
|
|
|
|
} bootOption;
|
|
|
|
};
|
|
|
|
|
|
|
|
std::unique_ptr<Catalogue> GetDFSCatalogue(const std::shared_ptr<Storage::Disk::Disk> &disk);
|
|
|
|
std::unique_ptr<Catalogue> GetADFSCatalogue(const std::shared_ptr<Storage::Disk::Disk> &disk);
|
2016-09-19 01:18:11 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* Disk_hpp */
|