]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - include/modes/simplemodes.h
Merge pull request #437 from SaberUK/insp20+doxygen-update
[user/henk/code/inspircd.git] / include / modes / simplemodes.h
1 /*
2  * InspIRCd -- Internet Relay Chat Daemon
3  *
4  *   Copyright (C) 2007 Dennis Friis <peavey@inspircd.org>
5  *   Copyright (C) 2006 Craig Edwards <craigedwards@brainbox.cc>
6  *
7  * This file is part of InspIRCd.  InspIRCd is free software: you can
8  * redistribute it and/or modify it under the terms of the GNU General Public
9  * License as published by the Free Software Foundation, version 2.
10  *
11  * This program is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
14  * details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18  */
19
20 #include "mode.h"
21
22 /** Channel mode +i
23  */
24 class ModeChannelInviteOnly : public SimpleChannelModeHandler
25 {
26  public:
27         ModeChannelInviteOnly() : SimpleChannelModeHandler(NULL, "inviteonly", 'i')
28         {
29         }
30 };
31
32 /** Channel mode +m
33  */
34 class ModeChannelModerated : public SimpleChannelModeHandler
35 {
36  public:
37         ModeChannelModerated() : SimpleChannelModeHandler(NULL, "moderated", 'm')
38         {
39         }
40 };
41
42 /** Channel mode +n
43  */
44 class ModeChannelNoExternal : public SimpleChannelModeHandler
45 {
46  public:
47         ModeChannelNoExternal() : SimpleChannelModeHandler(NULL, "noextmsg", 'n')
48         {
49         }
50 };
51
52 /** Channel mode +p
53  */
54 class ModeChannelPrivate : public SimpleChannelModeHandler
55 {
56  public:
57         ModeChannelPrivate() : SimpleChannelModeHandler(NULL, "private", 'p')
58         {
59         }
60 };
61
62 /** Channel mode +s
63  */
64 class ModeChannelSecret : public SimpleChannelModeHandler
65 {
66  public:
67         ModeChannelSecret() : SimpleChannelModeHandler(NULL, "secret", 's')
68         {
69         }
70 };
71
72 /** Channel mode +t
73  */
74 class ModeChannelTopicOps : public SimpleChannelModeHandler
75 {
76  public:
77         ModeChannelTopicOps() : SimpleChannelModeHandler(NULL, "topiclock", 't')
78         {
79         }
80 };
81       
82 /** User mode +i
83  */
84 class ModeUserInvisible : public SimpleUserModeHandler
85 {
86  public:
87         ModeUserInvisible() : SimpleUserModeHandler(NULL, "invisible", 'i')
88         {
89         }
90 };
91
92 /** User mode +w
93  */
94 class ModeUserWallops : public SimpleUserModeHandler
95 {
96  public:
97         ModeUserWallops() : SimpleUserModeHandler(NULL, "wallops", 'w')
98         {
99         }
100 };