diff options
author | Andrei Karas <akaras@inbox.ru> | 2009-10-31 15:42:28 +0200 |
---|---|---|
committer | Blue <bluesansdouze@gmail.com> | 2010-01-07 23:12:10 +0100 |
commit | be5460f2a294bb8e50b40f498f29a556b31bedd7 (patch) | |
tree | 5256167e0b8487fdb2c49090986cc883614fb9b1 /src/gui/widgets/chattab.h | |
parent | 84da747711ed1713984ca514a8bb786219a85d9b (diff) | |
download | Mana-be5460f2a294bb8e50b40f498f29a556b31bedd7.tar.gz Mana-be5460f2a294bb8e50b40f498f29a556b31bedd7.tar.bz2 Mana-be5460f2a294bb8e50b40f498f29a556b31bedd7.tar.xz Mana-be5460f2a294bb8e50b40f498f29a556b31bedd7.zip |
Chat auto completing
Diffstat (limited to 'src/gui/widgets/chattab.h')
-rw-r--r-- | src/gui/widgets/chattab.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h index 4cb6a58f..40a1c1f5 100644 --- a/src/gui/widgets/chattab.h +++ b/src/gui/widgets/chattab.h @@ -47,6 +47,14 @@ enum class ChatTab : public Tab { public: + enum Type + { + UNKNOWN, + INPUT, + WHISPER, + PARTY + }; + /** * Constructor. */ @@ -110,6 +118,11 @@ 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; |