created sicxe emulator project
This commit is contained in:
parent
cb38efe586
commit
3332b2971b
18 changed files with 1051 additions and 0 deletions
18
simulator_SIC_XE/include/input_device.h
Normal file
18
simulator_SIC_XE/include/input_device.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef INPUT_DEVICE_H
|
||||
#define INPUT_DEVICE_H
|
||||
|
||||
#include "device.h"
|
||||
#include <istream>
|
||||
|
||||
class InputDevice : public Device {
|
||||
public:
|
||||
explicit InputDevice(std::istream &in);
|
||||
~InputDevice();
|
||||
|
||||
unsigned char read();
|
||||
|
||||
private:
|
||||
std::istream &inStream;
|
||||
};
|
||||
|
||||
#endif // INPUT_DEVICE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue