diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-09-22 08:51:16 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-09-22 08:51:16 +0000 |
commit | 720f758a8c6bece45e0d2d42e48bed67167f26c6 (patch) | |
tree | d04c4d157f19c3afe8a45d8f39be54aee43c8608 /src/channelmanager.h | |
parent | 491b9ec1230dd010466d698aba903fed5bcedee2 (diff) | |
download | mana-720f758a8c6bece45e0d2d42e48bed67167f26c6.tar.gz mana-720f758a8c6bece45e0d2d42e48bed67167f26c6.tar.bz2 mana-720f758a8c6bece45e0d2d42e48bed67167f26c6.tar.xz mana-720f758a8c6bece45e0d2d42e48bed67167f26c6.zip |
Cleaned a bit.
Diffstat (limited to 'src/channelmanager.h')
-rw-r--r-- | src/channelmanager.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/channelmanager.h b/src/channelmanager.h index 3ad8f0b8..5e6b5ba1 100644 --- a/src/channelmanager.h +++ b/src/channelmanager.h @@ -24,6 +24,9 @@ #ifndef _TMW_CHANNELMANAGER_H #define _TMW_CHANNELMANAGER_H +#include <list> +#include <string> + class Channel; class ChannelManager @@ -32,7 +35,7 @@ public: ChannelManager(); ~ChannelManager(); Channel* findById(int id); - Channel* findByName(std::string name); + Channel *findByName(std::string const &name); void addChannel(Channel *channel); void removeChannel(Channel *channel); private: |