blob: 18e38af5493815c046187c4b3675effa5ac17c09 [file] [log] [blame]
/* CrO2 datassette emulator
* Copyright 2012, Adrien Destugues <pulkomandy@pulkomandy.ath.cx>
*
* Distributed under the terms of the MIT licence.
*/
#include <stdint.h>
#include <vector>
class K5 {
public:
K5(const char* filename);
class Block {
public:
Block(int length, uint8_t type);
Block(const Block& other);
~Block();
const Block& operator=(const Block& other);
int length;
uint8_t* data;
uint8_t type;
private:
Block();
};
int getBlockCount();
Block getBlock(int number);
private:
K5();
std::vector<Block> blocks;
};