The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

cmode_h.h

Go to the documentation of this file.
00001 /*       +------------------------------------+
00002  *       | Inspire Internet Relay Chat Daemon |
00003  *       +------------------------------------+
00004  *
00005  *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
00006  * See: http://www.inspircd.org/wiki/index.php/Credits
00007  *
00008  * This program is free but copyrighted software; see
00009  *            the file COPYING for details.
00010  *
00011  * ---------------------------------------------------
00012  */
00013 
00014 #include "mode.h"
00015 #include "channels.h"
00016 
00017 class InspIRCd;
00018 
00021 class ModeChannelHalfOp : public ModeHandler
00022 {
00023  private:
00024  public:
00025         ModeChannelHalfOp(InspIRCd* Instance);
00026         ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding, bool servermode);
00027         std::string AddHalfOp(User *user,const char *dest,Channel *chan,int status);
00028         std::string DelHalfOp(User *user,const char *dest,Channel *chan,int status);
00029         ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);
00030         unsigned int GetPrefixRank();
00031         void RemoveMode(Channel* channel, irc::modestacker* stack = NULL);
00032         void RemoveMode(User* user, irc::modestacker* stack = NULL);
00033 };
00034