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

cull_list.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 #ifndef __CULLLIST_H__
00015 #define __CULLLIST_H__
00016 
00032 class CoreExport CullList : public classbase
00033 {
00034  private:
00037         InspIRCd* ServerInstance;
00038 
00043         std::vector<User *> list;
00044 
00045  public:
00049         CullList(InspIRCd* Instance);
00050 
00057         void AddItem(User* user);
00058 
00059         /* Turn an item into a silent item (don't send out QUIT for this user)
00060          */
00061         void MakeSilent(User* user);
00062 
00071         int Apply();
00072 };
00073 
00074 #endif
00075