mirror of
https://github.com/jscrane/r65emu.git
synced 2024-09-08 15:54:47 +00:00
26 lines
402 B
C++
26 lines
402 B
C++
#ifndef __SD_FILER_H__
|
|
#define __SD_FILER_H__
|
|
|
|
class sd_filer: public filer {
|
|
public:
|
|
sd_filer(const char *programs): _programs(programs) {}
|
|
|
|
const char *advance();
|
|
const char *rewind();
|
|
|
|
const char *checkpoint();
|
|
void restore(const char *);
|
|
|
|
bool start();
|
|
void stop();
|
|
bool seek(uint32_t pos);
|
|
|
|
bool more();
|
|
uint8_t read();
|
|
void write(uint8_t);
|
|
|
|
private:
|
|
const char *_programs;
|
|
};
|
|
#endif
|