]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_v.h
Add server ports to ServerInstance->ports, enable SSL on them using OnHookIO
[user/henk/code/inspircd.git] / include / modes / cmode_v.h
index 8cf1ad994629f3c3408f1a60b81dafba9757aad4..77e8562f293f2e597b2ea25b1c394aed24e6abaf 100644 (file)
@@ -1,13 +1,32 @@
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
+ *
+ * This program is free but copyrighted software; see
+ *            the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
 #include "mode.h"
 #include "channels.h"
 
+class InspIRCd;
+
+/** Channel mode +v
+ */
 class ModeChannelVoice : public ModeHandler
 {
  private:
  public:
        ModeChannelVoice();
-       ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
-       std::string AddVoice(userrec *user,const char *dest,chanrec *chan,int status);
-       std::string DelVoice(userrec *user,const char *dest,chanrec *chan,int status);
+       ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
+       ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);
+       unsigned int GetPrefixRank();
+       void RemoveMode(User* user, irc::modestacker* stack = NULL);
+       void RemoveMode(Channel* channel, irc::modestacker* stack = NULL);
 };