12 lines
229 B
C++
12 lines
229 B
C++
#include <cstdint>
|
|
#include <fstream>
|
|
#include "device.h"
|
|
|
|
class InputDevice : public Device {
|
|
|
|
public:
|
|
uint8_t read() override;
|
|
InputDevice(std::istream& input);
|
|
private:
|
|
std::istream& in;
|
|
};
|