diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-03 18:59:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-03 19:03:30 +0300 |
commit | 98db78be9552b039090ce5dfc53803df2dd54b41 (patch) | |
tree | efda1a43723e8e11e075dcfef2776fe38c7cb3da /src/channel.h | |
parent | d7cbb663f5f8e19ccfa7162ef7d1d4e3b4020335 (diff) | |
download | manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.gz manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.bz2 manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.xz manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.zip |
Add some missing getters.
Diffstat (limited to 'src/channel.h')
-rw-r--r-- | src/channel.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/channel.h b/src/channel.h index 559002296..cf52743f0 100644 --- a/src/channel.h +++ b/src/channel.h @@ -46,7 +46,8 @@ class Channel /** * Get the id associated witht his channel. */ - int getId() const { return mId; } + int getId() const + { return mId; } /** * Get this channel's name. @@ -72,7 +73,7 @@ class Channel void setAnnouncement(const std::string &channelAnnouncement) { mAnnouncement = channelAnnouncement; } - ChannelTab *getTab() + ChannelTab *getTab() const { return mTab; } protected: |