Planeshift

pawsconfigchatfilter.h

Go to the documentation of this file.
00001 /*
00002  * pawsconfigchatfilter.h
00003  *
00004  * Copyright (C) 2005 Atomic Blue ([email protected], http://www.atomicblue.org)
00005  *
00006  * Credits : Christian Svensson
00007  *
00008  * This program is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU General Public License
00010  * as published by the Free Software Foundation (version 2
00011  * of the License).
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00019  *
00020  * Creation Date: 11/Jan 2005
00021  * Description : This is the header file for the pawsConfigChatFilter window
00022  *               which provides filter settings for the chat window
00023  *
00024  */
00025 
00026 #ifndef HEADER_CONFIG_CHAT_FILTER
00027 #define HEADER_CONFIG_CHAT_FILTER
00028 
00029 #include "paws/pawswidget.h"
00030 #include "paws/pawscheckbox.h"
00031 #include "pawsconfigwindow.h"
00032 #include "chatwindow.h"
00033 
00034 class pawsConfigChatFilter : public pawsConfigSectionWindow
00035 {
00036 public:
00037     // Functions needed for being a config window
00038     bool Initialize();
00039     bool LoadConfig();
00040     bool SaveConfig();
00041     void SetDefault();
00042 
00043     bool PostSetup();
00044 
00045 private:
00046 
00047     // Arrays with the checkboxes
00048     pawsCheckBox* me[COMBAT_TOTAL_AMOUNT];
00049     pawsCheckBox* vicinity[COMBAT_TOTAL_AMOUNT];
00050 };
00051 
00052 CREATE_PAWS_FACTORY(pawsConfigChatFilter);
00053 
00054 #endif
00055