2017-06-08 23:09:51 +00:00
|
|
|
//
|
|
|
|
// ZX8081.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 08/06/2017.
|
|
|
|
// Copyright © 2017 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2017-06-11 20:41:15 +00:00
|
|
|
#ifndef Storage_Data_ZX8081_hpp
|
|
|
|
#define Storage_Data_ZX8081_hpp
|
2017-06-08 23:09:51 +00:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
namespace Storage {
|
|
|
|
namespace Data {
|
|
|
|
namespace ZX8081 {
|
|
|
|
|
|
|
|
struct File {
|
|
|
|
std::vector<uint8_t> data;
|
|
|
|
std::string name;
|
|
|
|
bool isZX81;
|
|
|
|
};
|
|
|
|
|
|
|
|
std::shared_ptr<File> FileFromData(const std::vector<uint8_t> &data);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* ZX8081_hpp */
|