cartridge.hpp 504 B

12345678910111213
  1. struct Cartridge : Media {
  2. auto type() -> string override { return "Cartridge"; }
  3. auto construct() -> void override;
  4. auto manifest(string location) -> string override;
  5. auto import(string filename) -> string override;
  6. auto append(vector<uint8_t>& data, string filename) -> bool;
  7. auto manifest(vector<uint8_t>& data, string location) -> string;
  8. virtual auto export(string location) -> vector<uint8_t> = 0;
  9. virtual auto heuristics(vector<uint8_t>& data, string location) -> string = 0;
  10. };