35 lines
793 B
C++
35 lines
793 B
C++
/***
|
|
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<AuLoop::ILoopSource> GetLoopSource();
|
|
|
|
AuUInt32 WriteStdOutBlocking2(const void *data, AuUInt32 length);
|
|
|
|
void Lock();
|
|
void Unlock();
|
|
|
|
AuUInt32 ReadStdIn(void *data, AuUInt32 length);
|
|
AuUInt32 WriteStdOut(const void *data, AuUInt32 length);
|
|
|
|
void WriteStdOut(AuUInt8 level, const ConsoleMessage &msg, const AuString &formatted);
|
|
|
|
inline bool gSupportsColorOutput { true };
|
|
|
|
#if defined(AURORA_IS_MODERNNT_DERIVED)
|
|
void ProcessCanonical(HANDLE h);
|
|
#endif
|
|
} |