]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - include/modes/cmode_k.h
Header update: 2007 -> 2008
[user/henk/code/inspircd.git] / include / modes / cmode_k.h
1 /*       +------------------------------------+
2  *       | Inspire Internet Relay Chat Daemon |
3  *       +------------------------------------+
4  *
5  *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
6  * See: http://www.inspircd.org/wiki/index.php/Credits
7  *
8  * This program is free but copyrighted software; see
9  *            the file COPYING for details.
10  *
11  * ---------------------------------------------------
12  */
13
14 #include "mode.h"
15
16 class InspIRCd;
17
18 /** Channel mode +k
19  */
20 class ModeChannelKey : public ModeHandler
21 {
22  public:
23         ModeChannelKey(InspIRCd* Instance);
24         ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
25         ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);
26         bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, Channel* channel);
27         void RemoveMode(Channel* channel);
28         void RemoveMode(User* user);
29 };