Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/console.h')
-rw-r--r--src/client/console.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/client/console.h b/src/client/console.h
new file mode 100644
index 0000000..1dc7109
--- /dev/null
+++ b/src/client/console.h
@@ -0,0 +1,31 @@
+/*
+ client/console.h
+ This file is part of the Osirion project and is distributed under
+ the terms of the GNU General Public License version 2
+*/
+
+#ifndef __INCLUDED_CLIENTCONSOLE_H__
+#define __INCLUDED_CLIENTCONSOLE_H__
+
+#include "common/console.h"
+
+namespace client {
+
+/// Interface for a console object that writes messages on the screen
+class Console : public common::Console {
+public:
+ /// stream to send normal messages too
+ virtual std::ostream & message();
+
+ /// stream to send warning messages too
+ virtual std::ostream & warning();
+
+ /// stream to send debug messages too
+ virtual std::ostream & debug();
+
+}; // class Console
+
+} // namespace server
+
+#endif // __INCLUDED_CLIENTCONSOLE_H__
+