32 lines
655 B
C++
32 lines
655 B
C++
|
/***
|
||
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: IIOBufferedStreamAvailable.hpp
|
||
|
Date: 2022-6-20
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#pragma once
|
||
|
|
||
|
namespace Aurora::IO
|
||
|
{
|
||
|
struct IIOPipeInterceptor;
|
||
|
struct IIOBufferedStreamAvailable;
|
||
|
|
||
|
struct IOPipeCallback
|
||
|
{
|
||
|
EPipeCallbackType type;
|
||
|
|
||
|
struct
|
||
|
{
|
||
|
AuSPtr<IIOBufferedStreamAvailable> onData;
|
||
|
} handleBufferedStream;
|
||
|
|
||
|
struct
|
||
|
{
|
||
|
AuSPtr<IIOPipeInterceptor> intercepter;
|
||
|
AuSPtr<IStreamWriter> writer;
|
||
|
|
||
|
bool bFlushWriter {true};
|
||
|
} forwardStream;
|
||
|
};
|
||
|
}
|