summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2010-01-08 16:03:29 +0200
committerBlue <bluesansdouze@gmail.com>2010-01-08 23:05:32 +0100
commitc1ddf4c0840bb15016dc69af4a4751d09908393f (patch)
tree26b8f6a28a469a64208eb9f475fb5e26de13b29b /src/gui/chat.h
parent9b6e5a3189311d5704993d41a1fa195e006a57af (diff)
downloadmana-c1ddf4c0840bb15016dc69af4a4751d09908393f.tar.gz
mana-c1ddf4c0840bb15016dc69af4a4751d09908393f.tar.bz2
mana-c1ddf4c0840bb15016dc69af4a4751d09908393f.tar.xz
mana-c1ddf4c0840bb15016dc69af4a4751d09908393f.zip
Small refactoring in chat auto completing
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h
index b64ea5e8..4516257f 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -32,6 +32,7 @@
#include <list>
#include <string>
#include <map>
+#include <vector>
class BrowserBox;
class Channel;
@@ -191,6 +192,9 @@ class ChatWindow : public Window,
std::string autoCompleteHistory(std::string partName);
+ std::string autoComplete(std::vector<std::string> &names,
+ std::string partName) const;
+
/** Used for showing item popup on clicking links **/
ItemLinkHandler *mItemLinkHandler;
Recorder *mRecorder;