struct Icarus { //core.cpp Icarus(); auto error() const -> string; auto success(string location) -> string; auto failure(string message) -> string; auto manifest(string location) -> string; auto import(string location) -> string; auto concatenate(vector& output, string location) -> void; //famicom.cpp auto famicomManifest(string location) -> string; auto famicomManifest(vector& buffer, string location, uint* prgrom = nullptr, uint* chrrom = nullptr) -> string; auto famicomImport(vector& buffer, string location) -> string; //super-famicom.cpp auto superFamicomManifest(string location) -> string; auto superFamicomManifest(vector& buffer, string location, bool* firmwareAppended = nullptr) -> string; auto superFamicomManifestScan(vector& roms, Markup::Node node) -> void; auto superFamicomImport(vector& buffer, string location) -> string; //master-system.cpp auto masterSystemManifest(string location) -> string; auto masterSystemManifest(vector& buffer, string location) -> string; auto masterSystemImport(vector& buffer, string location) -> string; //mega-drive.cpp auto megaDriveManifest(string location) -> string; auto megaDriveManifest(vector& buffer, string location) -> string; auto megaDriveImport(vector& buffer, string location) -> string; //pc-engine.cpp auto pcEngineManifest(string location) -> string; auto pcEngineManifest(vector& buffer, string location) -> string; auto pcEngineImport(vector& buffer, string location) -> string; //supergrafx.cpp auto superGrafxManifest(string location) -> string; auto superGrafxManifest(vector& buffer, string location) -> string; auto superGrafxImport(vector& buffer, string location) -> string; //game-boy.cpp auto gameBoyManifest(string location) -> string; auto gameBoyManifest(vector& buffer, string location) -> string; auto gameBoyImport(vector& buffer, string location) -> string; //game-boy-color.cpp auto gameBoyColorManifest(string location) -> string; auto gameBoyColorManifest(vector& buffer, string location) -> string; auto gameBoyColorImport(vector& buffer, string location) -> string; //game-boy-advance.cpp auto gameBoyAdvanceManifest(string location) -> string; auto gameBoyAdvanceManifest(vector& buffer, string location) -> string; auto gameBoyAdvanceImport(vector& buffer, string location) -> string; //game-gear.cpp auto gameGearManifest(string location) -> string; auto gameGearManifest(vector& buffer, string location) -> string; auto gameGearImport(vector& buffer, string location) -> string; //wonderswan.cpp auto wonderSwanManifest(string location) -> string; auto wonderSwanManifest(vector& buffer, string location) -> string; auto wonderSwanImport(vector& buffer, string location) -> string; //wonderswan-color.cpp auto wonderSwanColorManifest(string location) -> string; auto wonderSwanColorManifest(vector& buffer, string location) -> string; auto wonderSwanColorImport(vector& buffer, string location) -> string; //bs-memory.cpp auto bsMemoryManifest(string location) -> string; auto bsMemoryManifest(vector& buffer, string location) -> string; auto bsMemoryImport(vector& buffer, string location) -> string; //sufami-turbo.cpp auto sufamiTurboManifest(string location) -> string; auto sufamiTurboManifest(vector& buffer, string location) -> string; auto sufamiTurboImport(vector& buffer, string location) -> string; private: string errorMessage; struct { Markup::Node famicom; Markup::Node superFamicom; Markup::Node masterSystem; Markup::Node megaDrive; Markup::Node pcEngine; Markup::Node superGrafx; Markup::Node gameBoy; Markup::Node gameBoyColor; Markup::Node gameBoyAdvance; Markup::Node gameGear; Markup::Node wonderSwan; Markup::Node wonderSwanColor; Markup::Node bsMemory; Markup::Node sufamiTurbo; } database; };