This repository has been archived on 2023-12-22. You can view files and clone it, but cannot push or open issues or pull requests.
old-monorepo/Devices/Console/Firmware/lib/StreamCommunicator/StreamCommunicator.h

16 lines
292 B
C
Raw Normal View History

2022-02-06 16:06:24 +01:00
#include "Stream.h"
#ifndef _STREAM_COMMUNICATOR_INCLUDED_
#define _STREAM_COMMUNICATOR_INCLUDED_
class StreamCommunicator
{
protected:
Stream &stream;
public:
StreamCommunicator(Stream &s_out);
virtual void sendMessage(const char message[]);
Stream *getStream();
};
#endif