diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-17 20:10:51 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-17 20:10:51 +0100 |
commit | 1b3cb122be1a418ce82b66fb9ce1ecf3aa5813fb (patch) | |
tree | 02556c7271844901a023b84b0fa84982ccff9bff /src/channelmanager.h | |
parent | 3dba40474d5b1525e8723139ae7be7576967feea (diff) | |
download | mana-1b3cb122be1a418ce82b66fb9ce1ecf3aa5813fb.tar.gz mana-1b3cb122be1a418ce82b66fb9ce1ecf3aa5813fb.tar.bz2 mana-1b3cb122be1a418ce82b66fb9ce1ecf3aa5813fb.tar.xz mana-1b3cb122be1a418ce82b66fb9ce1ecf3aa5813fb.zip |
Code reformatting
Mainly making sure 'const std::string &' is used everywhere instead of
'std::string const &'. The former has always been the preferred order in
this project.
Diffstat (limited to 'src/channelmanager.h')
-rw-r--r-- | src/channelmanager.h | 7 |
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; }; |