summaryrefslogtreecommitdiff
path: root/src/channelmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/channelmanager.h')
-rw-r--r--src/channelmanager.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/channelmanager.h b/src/channelmanager.h
index c19c548a..e42a5960 100644
--- a/src/channelmanager.h
+++ b/src/channelmanager.h
@@ -32,10 +32,13 @@ class ChannelManager
public:
ChannelManager();
~ChannelManager();
- Channel* findById(int id);
- Channel *findByName(std::string const &name);
+
+ Channel *findById(int id) const;
+ Channel *findByName(const std::string &name) const;
+
void addChannel(Channel *channel);
void removeChannel(Channel *channel);
+
private:
std::list<Channel*> mChannels;
};