12 lines
No EOL
240 B
C++
12 lines
No EOL
240 B
C++
#include <string>
|
|
#include <fstream>
|
|
#include "device.h"
|
|
|
|
class fileDevice : public Device{
|
|
private:
|
|
std::fstream file;
|
|
public:
|
|
fileDevice(std::string& fileName);
|
|
uint8_t read() override;
|
|
void write(uint8_t val) override;
|
|
}; |