summaryrefslogtreecommitdiff
path: root/src/net/ea/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2009-10-31 15:42:28 +0200
committerBlue <bluesansdouze@gmail.com>2010-01-07 23:12:10 +0100
commitbe5460f2a294bb8e50b40f498f29a556b31bedd7 (patch)
tree5256167e0b8487fdb2c49090986cc883614fb9b1 /src/net/ea/gui
parent84da747711ed1713984ca514a8bb786219a85d9b (diff)
downloadmana-client-be5460f2a294bb8e50b40f498f29a556b31bedd7.tar.gz
mana-client-be5460f2a294bb8e50b40f498f29a556b31bedd7.tar.bz2
mana-client-be5460f2a294bb8e50b40f498f29a556b31bedd7.tar.xz
mana-client-be5460f2a294bb8e50b40f498f29a556b31bedd7.zip
Chat auto completing
Diffstat (limited to 'src/net/ea/gui')
-rw-r--r--src/net/ea/gui/partytab.cpp5
-rw-r--r--src/net/ea/gui/partytab.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp
index dab233e1..24bd739b 100644
--- a/src/net/ea/gui/partytab.cpp
+++ b/src/net/ea/gui/partytab.cpp
@@ -201,3 +201,8 @@ bool PartyTab::handleCommand(const std::string &type, const std::string &args)
return true;
}
+
+int PartyTab::getType() const
+{
+ return ChatTab::PARTY;
+}
diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h
index 1e4b6e0c..9ef481e2 100644
--- a/src/net/ea/gui/partytab.h
+++ b/src/net/ea/gui/partytab.h
@@ -37,6 +37,8 @@ class PartyTab : public ChatTab
bool handleCommand(const std::string &type, const std::string &args);
+ int getType() const;
+
protected:
void handleInput(const std::string &msg);
};