16 lines
292 B
C
16 lines
292 B
C
|
#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
|