client/chat_channel.h

Go to the documentation of this file.
00001 /* $Id: chat_channel.h jjs $ */
00002 /*
00003    Copyright (C) 2007 by Jurjen Stellingwerff <jurjen@stwerff.xs4all.nl>
00004    Part of the Moros Project http://moros.sourceforge.net/
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License.
00008    This program is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY.
00010 
00011    See the COPYING file for more details.
00012 */
00013 #ifndef __CHAT_CHANNEL_H
00014 #define __CHAT_CHANNEL_H
00015 
00016 #include "member.h"
00017 
00019 
00020 enum chat_status {
00021     Status_leader,
00022     Status_moderator,
00023     Status_member,
00024     Status_muted,
00025     Status_ignored,
00026     Status_none
00027 };
00028 
00030 
00031 class chat_channel {
00032   public:
00033     std::string name;
00034     std::string title;
00035     std::string leader;
00036     int lines;
00037     bool restricted;
00038     int status;
00039     std::list<chat_member> members;
00040 };
00041 
00043 
00044 extern chat_channel current_channel;
00045 
00047 
00048 extern std::list<chat_channel> chat_channels;
00049 
00050 #endif // __CHAT_CHANNEL_H


Generated on Tue Jan 1 17:30:00 2008 for client/chat_channel.h Source File by  doxygen   Visit the project page on SourceForge.net Logo