mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-27 10:38:48 +03:00
62519b19fe
#includes.
24 lines
379 B
C++
24 lines
379 B
C++
#ifndef IOUTPUTSTREAM_H
|
|
#define IOUTPUTSTREAM_H
|
|
|
|
#include "IInterface.h"
|
|
#include "BasicTypes.h"
|
|
|
|
class IOutputStream : public IInterface {
|
|
public:
|
|
// manipulators
|
|
|
|
// close the stream
|
|
virtual void close() = 0;
|
|
|
|
// write count bytes to stream
|
|
virtual UInt32 write(const void*, UInt32 count) = 0;
|
|
|
|
// flush the stream
|
|
virtual void flush() = 0;
|
|
|
|
// accessors
|
|
};
|
|
|
|
#endif
|