From b4973888aeaea2dde6058bc06c3f6631349e7f3c Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 3 Feb 2008 01:43:03 +0000 Subject: command buffer handling engine function parsing buffered client console --- src/sys/consoleinterface.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/sys') diff --git a/src/sys/consoleinterface.h b/src/sys/consoleinterface.h index e0228ae..6540d95 100644 --- a/src/sys/consoleinterface.h +++ b/src/sys/consoleinterface.h @@ -17,6 +17,8 @@ #define con_print sys::ConsoleInterface::instance()->messagestream() /// global define to send a warning message to the system console #define con_warn sys::ConsoleInterface::instance()->warningstream() +/// global define to send an error message to the system console +#define con_error sys::ConsoleInterface::instance()->errorstream() #ifdef HAVE_DEBUG_MESSAGES /// global define to send a debug message to the system console @@ -42,6 +44,9 @@ public: /// stream to send warning messages too virtual std::ostream & warningstream() = 0; + /// stream to send error messages too + virtual std::ostream & errorstream() = 0; + /// stream to send debug messages too virtual std::ostream & debugstream() = 0; -- cgit v1.2.3