Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-03 01:43:03 +0000
committerStijn Buys <ingar@osirion.org>2008-02-03 01:43:03 +0000
commitb4973888aeaea2dde6058bc06c3f6631349e7f3c (patch)
tree010de10692b330d7634ad3090fb94d14c101f484 /src/sys
parent67f8a7a783e550cab8e6a77d997b31815ee8cd7e (diff)
command buffer handling
engine function parsing buffered client console
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/consoleinterface.h5
1 files changed, 5 insertions, 0 deletions
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;