22 lines
577 B
C++
22 lines
577 B
C++
/***
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: IStreamWriter.hpp
|
|
Date: 2021-6-10
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::IO
|
|
{
|
|
AUKN_INTERFACE(IStreamWriter,
|
|
AUI_METHOD(EStreamError, IsOpen, ()),
|
|
AUI_METHOD(EStreamError, Write, (const Memory::MemoryViewStreamRead&, parameters)),
|
|
AUI_METHOD(void, Flush, ()),
|
|
AUI_METHOD(void, Close, ())
|
|
);
|
|
|
|
inline EStreamError WriteAll(IStreamWriter* that, const Memory::MemoryViewStreamRead& parameters);
|
|
}
|
|
|
|
#include "IStreamWriter.inl" |