Reece
f559897b42
[-] Removed WorkerId_t typedef [*] Added shared support to some older threading apis that have yet to be updated
35 lines
1.1 KiB
C++
35 lines
1.1 KiB
C++
/***
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: Console.hpp
|
|
Date: 2021-6-9
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
#include "EAnsiColor.hpp"
|
|
#include "ConsoleMessage.hpp"
|
|
|
|
namespace Aurora::Console
|
|
{
|
|
/// Writes a log message to the console subscribers and telemetry outputs
|
|
AUKN_SYM void WriteLine(const ConsoleMessage &msg);
|
|
|
|
/// Consider using the following function for asynchronous utf-8 processed line based input -
|
|
/// Aurora::Console::Commands::SetCallbackAndDisableCmdProcessing(...)
|
|
/// [!!!] nonblocking
|
|
/// [!!!] you must disable the stdio console logger before using this api
|
|
AUKN_SYM AuUInt32 ReadStdIn(void *buffer, AuUInt32 length);
|
|
|
|
/// [!!!] nonblocking
|
|
/// [!!!] you should disable the stdio console logger before using this api
|
|
/// [!!!] expect system locale if the logger is not enabled
|
|
AUKN_SYM AuUInt32 WriteStdIn(const void *buffer, AuUInt32 length);
|
|
|
|
AUKN_SYM void OpenLateStd();
|
|
AUKN_SYM void OpenLateGUI();
|
|
}
|
|
|
|
#include "Commands/Commands.hpp"
|
|
#include "Hooks/Hooks.hpp"
|
|
#include "Logging/Logging.hpp" |