summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-02-22 16:49:38 -0700
committerJared Adams <jaxad0127@gmail.com>2010-02-22 16:53:32 -0700
commit00cbc7490641a697dbedb85b3b2ff3f75893b7ff (patch)
treea8ac366342a9138063eefca13ea2440042b32b84 /src/gui/widgets/chattab.h
parentdc3b7dc6001c64bd9473518299c74f292b521516 (diff)
downloadmana-client-00cbc7490641a697dbedb85b3b2ff3f75893b7ff.tar.gz
mana-client-00cbc7490641a697dbedb85b3b2ff3f75893b7ff.tar.bz2
mana-client-00cbc7490641a697dbedb85b3b2ff3f75893b7ff.tar.xz
mana-client-00cbc7490641a697dbedb85b3b2ff3f75893b7ff.zip
Change chat autocompletion to be more flexible
Reviewed-by: Chuck Miller
Diffstat (limited to 'src/gui/widgets/chattab.h')
-rw-r--r--src/gui/widgets/chattab.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h
index 8fa0ab71..3a4133bb 100644
--- a/src/gui/widgets/chattab.h
+++ b/src/gui/widgets/chattab.h
@@ -48,14 +48,6 @@ enum
class ChatTab : public Tab
{
public:
- enum Type
- {
- UNKNOWN,
- INPUT,
- WHISPER,
- PARTY
- };
-
/**
* Constructor.
*/
@@ -119,11 +111,6 @@ class ChatTab : public Tab
const std::string &args)
{ return false; }
- /**
- * Returns type of the being.
- */
- virtual int getType() const;
-
protected:
friend class ChatWindow;
friend class WhisperWindow;
@@ -134,6 +121,8 @@ class ChatTab : public Tab
virtual void handleCommand(const std::string &msg);
+ virtual void getAutoCompleteList(std::vector<std::string>&) const {}
+
void addRow(std::string &line);
ScrollArea *mScrollArea;