Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-23 17:10:35 +0000
committerStijn Buys <ingar@osirion.org>2008-02-23 17:10:35 +0000
commit5c734fe66e9ace93c03937adc2fc56336fb474fb (patch)
treed4d4ffebd4215b0f1f42d6a4ac9275ec8cd686ea /src/client/chat.h
parent82c06412ef39522c4deab457ce7a3e78160d8a19 (diff)
client chatbox and message notifications
Diffstat (limited to 'src/client/chat.h')
-rw-r--r--src/client/chat.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/client/chat.h b/src/client/chat.h
new file mode 100644
index 0000000..71fb9f5
--- /dev/null
+++ b/src/client/chat.h
@@ -0,0 +1,41 @@
+/*
+ client/chat.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_CLIENT_CHAT_H__
+#define __INCLUDED_CLIENT_CHAT_H__
+
+#include "sys/consoleinterface.h"
+
+#include <sstream>
+#include <deque>
+
+namespace client {
+
+/// the client chatbox
+namespace chat {
+
+/// initialize chatbox functions
+void init();
+
+/// shut down chatbox functions
+void shutdown();
+
+/// draw the chatbox
+void draw();
+
+/// toggle the chatbox
+void toggle();
+
+/// handle keyboard input
+void keypressed(int key);
+
+/// true of the console is visible
+bool visible();
+}
+
+}
+
+#endif // __INCLUDED_CLIENT_CHAT_H__