/*** Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved. File: ConsoleStd.hpp Date: 2021-6-8 Author: Reece ***/ #pragma once namespace Aurora::Console::ConsoleStd { void Init(); void Pump(); void Exit(); void Flush(); void Start(); AuSPtr GetLoopSource(); AuUInt32 WriteStdOutBlocking2(const void *data, AuUInt32 length); void Lock(); void Unlock(); AuUInt32 WriteStdOutNonBlocking(const void *data, AuUInt32 length); void FlushStdOutNb(); AuUInt32 ReadStdIn(void *data, AuUInt32 length); AuUInt32 WriteStdOut(const void *data, AuUInt32 length); void WriteStdOut(AuUInt8 level, const ConsoleMessage &msg); #if defined(AURORA_IS_MODERNNT_DERIVED) void ProcessCanonical(HANDLE h); #endif }