saved snapshot for naloga2

This commit is contained in:
zanostro 2025-12-07 11:33:03 +01:00
parent e764bf53e7
commit 9e7a9101b0
35 changed files with 4928 additions and 0 deletions

View 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