summaryrefslogtreecommitdiffstats
path: root/src/client/clui/clui.hpp
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2020-12-09 19:34:04 +0000
committerJoursoir <chat@joursoir.net>2020-12-09 19:34:04 +0000
commit4131de177e36b19b20b8bbdb7bd43b18b6e22690 (patch)
tree7540050cbe152fc1257585f4fd30cf9b020508c0 /src/client/clui/clui.hpp
parent1baf22ad58cc1a9aa9089ca9a09fc80a453cb3c9 (diff)
downloadwant-chat-4131de177e36b19b20b8bbdb7bd43b18b6e22690.tar.gz
want-chat-4131de177e36b19b20b8bbdb7bd43b18b6e22690.tar.bz2
want-chat-4131de177e36b19b20b8bbdb7bd43b18b6e22690.zip
clui: architecture go to base class for clients; fix bugs
Diffstat (limited to 'src/client/clui/clui.hpp')
-rw-r--r--src/client/clui/clui.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/clui/clui.hpp b/src/client/clui/clui.hpp
index 0373f95..e337aa9 100644
--- a/src/client/clui/clui.hpp
+++ b/src/client/clui/clui.hpp
@@ -1,10 +1,10 @@
// CLUI - Command Line User Interface
-#ifndef COMMANDLINEUI_H
-#define COMMANDLINEUI_H
+#ifndef WC_CLUI_H
+#define WC_CLUI_H
#include <ncurses.h>
-#include "../const_vars.hpp"
+#include "../../const_vars.hpp"
class Interface_wc {
WINDOW *w;
@@ -41,7 +41,7 @@ public:
~ChatRoom();
// for chat:
- void AddMessage(char *msg, int type);
+ void AddMessage(const char *msg, int type);
// for players:
//void AddPlayer()