Planeshift
pawsconfigchatfilter.h
Go to the documentation of this file.
1 /*
2  * pawsconfigchatfilter.h
3  *
4  * Copyright (C) 2005 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
5  *
6  * Credits : Christian Svensson
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation (version 2
11  * of the License).
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19  *
20  * Creation Date: 11/Jan 2005
21  * Description : This is the header file for the pawsConfigChatFilter window
22  * which provides filter settings for the chat window
23  *
24  */
25 
26 #ifndef HEADER_CONFIG_CHAT_FILTER
27 #define HEADER_CONFIG_CHAT_FILTER
28 
29 #include "paws/pawswidget.h"
30 #include "paws/pawscheckbox.h"
31 #include "pawsconfigwindow.h"
32 #include "chatwindow.h"
33 
38 {
39 public:
40  // Functions needed for being a config window
41  bool Initialize();
42  bool LoadConfig();
43  bool SaveConfig();
44  void SetDefault();
45 
46  bool PostSetup();
47 
48 private:
49 
50  // Arrays with the checkboxes
53 };
54 
56 
57 #endif
58 
bool SaveConfig()
remembers settings in-game and saves them permanently to a file also
A combination widget that has a check box and a text label.
Definition: pawscheckbox.h:48
configuration screen for chat filters
CREATE_PAWS_FACTORY(pawsConfigChatFilter)
bool PostSetup()
This is called after the widget and all of it's children have been created.
void SetDefault()
sets content of dialog according to default configuration
bool LoadConfig()
sets content of dialog according to current configuration