mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
28 lines
612 B
C#
28 lines
612 B
C#
using System;
|
|
using System.IO;
|
|
|
|
namespace BepInEx
|
|
{
|
|
internal interface IConsoleDriver
|
|
{
|
|
TextWriter StandardOut { get; }
|
|
TextWriter ConsoleOut { get; }
|
|
|
|
bool ConsoleActive { get; }
|
|
bool ConsoleIsExternal { get; }
|
|
|
|
void PreventClose();
|
|
|
|
void Initialize(bool alreadyActive);
|
|
|
|
// Apparently Windows code-pages work in Mono.
|
|
// https://stackoverflow.com/a/33456543
|
|
void CreateConsole(uint codepage);
|
|
void DetachConsole();
|
|
|
|
void SetConsoleColor(ConsoleColor color);
|
|
|
|
void SetConsoleTitle(string title);
|
|
}
|
|
}
|