summaryrefslogtreecommitdiff
path: root/src/channelmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/channelmanager.h')
-rw-r--r--src/channelmanager.h5
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: