9 #if defined(EHS_OS_WINDOWS)
10 typedef void* ConsoleHdl;
11 #elif defined(EHS_OS_LINUX)
12 typedef int ConsoleHdl;
18 static ConsoleHdl hdlOut;
19 static ConsoleHdl hdlIn;
21 #if defined(EHS_OS_WINDOWS)
22 static bool isConsole;
43 static void Write_32(
const Str_32& str,
const bool newLine =
true);
48 static void Write_16(
const Str_16& str,
const bool newLine =
true);
54 static void Write_8(
const Str_8& str,
const bool newLine =
true);
68 static Str_8 Read_8(
const UInt_64 bufferSize = 1024);
static Str_16 GetTitle_16()
Definition Console.cpp:663
static bool CanRead()
Definition Console.cpp:96
static void Write_32(const Str_32 &str, const bool newLine=true)
Definition Console.cpp:106
static void SetTitle_8(const Str_8 &title)
Definition Console.cpp:627
static Vector< Str_8 > GetArgs_8(const UInt_64 bufferSize=1024)
Definition Console.cpp:755
static Str_8 GetTitle_8()
Definition Console.cpp:678
static void Write_8(const Str_8 &str, const bool newLine=true)
Definition Console.cpp:224
static void SetTitle_16(const Str_16 &title)
Definition Console.cpp:606
static Str_8 Read_8(const UInt_64 bufferSize=1024)
Definition Console.cpp:460
static Str_32 GetTitle_32()
Definition Console.cpp:648
static Vector< Str_32 > GetArgs_32(const UInt_64 bufferSize=1024)
Definition Console.cpp:693
static void Write_16(const Str_16 &str, const bool newLine=true)
Definition Console.cpp:166
static bool Create()
Definition Console.cpp:56
static void Clear()
Clears the console.
Definition Console.cpp:549
static Str_16 Read_16(const UInt_64 bufferSize=1024)
Definition Console.cpp:371
static void Free()
Frees the current console being used.
Definition Console.cpp:77
static Str_32 Read_32(const UInt_64 bufferSize=1024)
Definition Console.cpp:282
static Vector< Str_16 > GetArgs_16(const UInt_64 bufferSize=1024)
Definition Console.cpp:725
static void SetTitle_32(const Str_32 &title)
Definition Console.cpp:585
static void Attach()
Definition Console.cpp:20
static bool CanWrite()
Definition Console.cpp:101
Str< Char_16, UInt_64 > Str_16
Definition Str.h:1952
Str< Char_8, UInt_64 > Str_8
Definition Str.h:1953
Str< Char_32, UInt_64 > Str_32
Definition Str.h:1951