]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_b.h
Implement <options:prefixpart|suffixpart|fixedpart>
[user/henk/code/inspircd.git] / include / modes / cmode_b.h
index eea06175113d3487259dd7dfc134a3f52cc6e7bd..c7d349541971f62ed2a78f5e71315ff66cf7ece2 100644 (file)
@@ -1,3 +1,16 @@
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
+ * This program is free but copyrighted software; see
+ *            the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
 #include "mode.h"
 #include "channels.h"
 
@@ -11,10 +24,13 @@ class ModeChannelBan : public ModeHandler
        BanItem b;
  public:
        ModeChannelBan(InspIRCd* Instance);
-       ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
-       std::string& AddBan(userrec *user,std::string& dest,chanrec *chan,int status);
-       std::string& DelBan(userrec *user,std::string& dest,chanrec *chan,int status);
-       void DisplayList(userrec* user, chanrec* channel);
-       ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string &parameter);
+       ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
+       std::string& AddBan(User *user,std::string& dest,Channel *chan,int status);
+       std::string& DelBan(User *user,std::string& dest,Channel *chan,int status);
+       void DisplayList(User* user, Channel* channel);
+       void DisplayEmptyList(User* user, Channel* channel);
+       ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);
+       void RemoveMode(User* user);
+       void RemoveMode(Channel* channel);
 };