1 // module_settings_window.h
3 // Copyright (c) 2007 The Dasher Team
5 // This file is part of Dasher.
7 // Dasher is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation; either version 2 of the License, or
10 // (at your option) any later version.
12 // Dasher 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.
17 // You should have received a copy of the GNU General Public License
18 // along with Dasher; if not, write to the Free Software
19 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef __module_settings_window_h__
22 #define __module_settings_window_h__
24 #include "../Common/ModuleSettings.h"
25 #include "DasherAppSettings.h"
32 #define TYPE_MODULE_SETTINGS_WINDOW (module_settings_window_get_type())
33 #define MODULE_SETTINGS_WINDOW(obj) (GTK_CHECK_CAST((obj), TYPE_MODULE_SETTINGS_WINDOW, ModuleSettingsWindow ))
34 #define MODULE_SETTINGS_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), TYPE_MODULE_SETTINGS_WINDOW, ModuleSettingsWindow ))
35 #define IS_MODULE_SETTINGS_WINDOW(obj) (GTK_CHECK_TYPE ((obj), TYPE_MODULE_SETTINGS_WINDOW))
36 #define IS_MODULE_SETTINGS_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), TYPE_MODULE_SETTINGS_WINDOW))
38 typedef struct _ModuleSettingsWindow ModuleSettingsWindow
;
39 typedef struct _ModuleSettingsWindowClass ModuleSettingsWindowClass
;
41 struct _ModuleSettingsWindow
{
43 gpointer private_data
;
46 struct _ModuleSettingsWindowClass
{
47 GtkDialogClass parent_class
;
50 GType
module_settings_window_get_type();
51 GtkWidget
*module_settings_window_new(DasherAppSettings
*pAppSettings
, const gchar
*szName
, SModuleSettings
*pSettings
, int iCount
);