Nebula
Loading...
Searching...
No Matches
win32consolehandler.h
Go to the documentation of this file.
1#pragma once
2#ifndef WIN32_WIN32CONSOLEHANDLER_H
3#define WIN32_WIN32CONSOLEHANDLER_H
4//------------------------------------------------------------------------------
16#include "io/consolehandler.h"
17
18//------------------------------------------------------------------------------
19namespace Win32
20{
22{
24public:
27
29 virtual void Print(const Util::String& s);
31 virtual void Error(const Util::String& s);
33 virtual void Warning(const Util::String& s);
35 virtual void Confirm(const Util::String& s);
37 virtual void DebugOut(const Util::String& s);
39 virtual bool HasInput();
41 virtual Util::String GetInput();
42
43private:
47};
48
49}; // namespace Win32
50//------------------------------------------------------------------------------
51#endif
Base class for all console handlers.
Definition consolehandler.h:22
The default console handler for Win32, puts normal messages to the debug output channel,...
Definition win32consolehandler.h:22
virtual void Warning(const Util::String &s)
called by console to output warning
Definition win32consolehandler.cc:89
HANDLE stdoutHandle
Definition win32consolehandler.h:44
__DeclareClass(Win32ConsoleHandler)
virtual bool HasInput()
return true if input is available
Definition win32consolehandler.cc:118
virtual void Error(const Util::String &s)
called by console with serious error
Definition win32consolehandler.cc:66
virtual void Print(const Util::String &s)
called by console to output data
Definition win32consolehandler.cc:36
virtual void DebugOut(const Util::String &s)
called by console to output debug string
Definition win32consolehandler.cc:57
HANDLE stdinHandle
Definition win32consolehandler.h:45
HANDLE stderrHandle
Definition win32consolehandler.h:46
virtual Util::String GetInput()
read available input
Definition win32consolehandler.cc:146
Win32ConsoleHandler()
constructor
Definition win32consolehandler.cc:21
virtual void Confirm(const Util::String &s)
called by console to display confirmation message box
Definition win32consolehandler.cc:102
[TODO: Describe Win32 subsystem]
Nebula's universal string class.
Definition string.h:50