Nebula
Loading...
Searching...
No Matches
osxconsolehandler.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
12#include "io/consolehandler.h"
13
14//------------------------------------------------------------------------------
15namespace OSX
16{
18{
20public:
22 virtual void Print(const Util::String& s);
24 virtual void Error(const Util::String& s);
26 virtual void Warning(const Util::String& s);
28 virtual void Confirm(const Util::String& s);
30 virtual void DebugOut(const Util::String& s);
32 virtual bool HasInput();
34 virtual Util::String GetInput();
35};
36
37} // namespace OSX
Base class for all console handlers.
Definition consolehandler.h:22
The default console handler for OSX, puts messages to stdout and stderr, reads from stdin.
Definition osxconsolehandler.h:18
virtual Util::String GetInput()
read available input
Definition osxconsolehandler.cc:83
virtual void DebugOut(const Util::String &s)
called by console to output debug string
Definition osxconsolehandler.cc:30
virtual void Confirm(const Util::String &s)
called by console to display confirmation message box
Definition osxconsolehandler.cc:64
virtual void Error(const Util::String &s)
called by console with serious error
Definition osxconsolehandler.cc:39
__DeclareClass(OSXConsoleHandler)
virtual bool HasInput()
return true if input is available
Definition osxconsolehandler.cc:73
virtual void Warning(const Util::String &s)
called by console to output warning
Definition osxconsolehandler.cc:55
virtual void Print(const Util::String &s)
called by console to output data
Definition osxconsolehandler.cc:21
Definition osxsysfunc.h:21
Nebula's universal string class.
Definition string.h:50