mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 01:39:30 +02:00
14 lines
262 B
C++
14 lines
262 B
C++
#ifndef STREAM_H
|
|
#define STREAM_H
|
|
|
|
#include "Print.h"
|
|
|
|
class Stream : public Print {
|
|
public:
|
|
virtual int available() { return 0; }
|
|
virtual int read() { return -1; }
|
|
virtual int peek() { return -1; }
|
|
// flush() is already inherited from Print
|
|
};
|
|
|
|
#endif
|