diff options
author | Roderic Morris <roderic@ccs.neu.edu> | 2008-06-10 00:45:21 +0000 |
---|---|---|
committer | Roderic Morris <roderic@ccs.neu.edu> | 2008-06-10 00:45:21 +0000 |
commit | f6f031fa4db6fa0ccd6e0b433f61479e9fd85477 (patch) | |
tree | f68634271d7e7f315c122ed7a3a08ad1d05b58b6 /src/channel.h | |
parent | 2cf38d37f86c5e5d82d77713afd093735db0598a (diff) | |
download | mana-f6f031fa4db6fa0ccd6e0b433f61479e9fd85477.tar.gz mana-f6f031fa4db6fa0ccd6e0b433f61479e9fd85477.tar.bz2 mana-f6f031fa4db6fa0ccd6e0b433f61479e9fd85477.tar.xz mana-f6f031fa4db6fa0ccd6e0b433f61479e9fd85477.zip |
add commandhandler class and fix / add some commands
Diffstat (limited to 'src/channel.h')
-rw-r--r-- | src/channel.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/channel.h b/src/channel.h index 9f7557c1..3cb38a1c 100644 --- a/src/channel.h +++ b/src/channel.h @@ -27,8 +27,6 @@ class Channel { public: - - typedef std::vector<std::string> ChannelUsers; /** * Constructor. @@ -59,12 +57,6 @@ class Channel { return mAnnouncement; } /** - * Get the list of users in this channel - */ - const ChannelUsers& getUserList() const - { return mUserList; } - - /** * Sets the name of the channel. */ void setName(const std::string &channelName) @@ -76,20 +68,9 @@ class Channel void setAnnouncement(const std::string &channelAnnouncement) { mAnnouncement = channelAnnouncement; } - /** - * Adds a user to this channel. - */ - void addUser(const std::string &user); - - /** - * Removes a user from the channel. - */ - void removeUser(const std::string &user); - private: unsigned short mId; std::string mName; std::string mAnnouncement; - ChannelUsers mUserList; }; |