diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-23 17:10:35 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-23 17:10:35 +0000 |
commit | 5c734fe66e9ace93c03937adc2fc56336fb474fb (patch) | |
tree | d4d4ffebd4215b0f1f42d6a4ac9275ec8cd686ea /src/client/chat.h | |
parent | 82c06412ef39522c4deab457ce7a3e78160d8a19 (diff) |
client chatbox and message notifications
Diffstat (limited to 'src/client/chat.h')
-rw-r--r-- | src/client/chat.h | 41 |
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__ |