Created IrrecoThemeSaveDlg
[irreco.git] / irreco / src / core / irreco_theme_save_dlg.h
blobd3f3c70bb10388a0e8815d574c956d13afad808a
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * irreco_theme_save_dlg.c
4 * Copyright (C) 2008 <>
5 *
6 * irreco_theme_save_dlg.c is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * irreco_theme_save_dlg.c is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 * See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef __IRRECO_THEME_SAVE_DLG_H_TYPEDEF__
21 #define __IRRECO_THEME_SAVE_DLG_H_TYPEDEF__
23 #define IRRECO_TYPE_THEME_SAVE_DLG (irreco_theme_save_dlg_get_type ())
24 #define IRRECO_THEME_SAVE_DLG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IRRECO_TYPE_THEME_SAVE_DLG, IrrecoThemeSaveDlg))
25 #define IRRECO_THEME_SAVE_DLG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), IRRECO_TYPE_THEME_SAVE_DLG, IrrecoThemeSaveDlgClass))
26 #define IRRECO_IS_THEME_SAVE_DLG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IRRECO_TYPE_THEME_SAVE_DLG))
27 #define IRRECO_IS_THEME_SAVE_DLG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), IRRECO_TYPE_THEME_SAVE_DLG))
28 #define IRRECO_THEME_SAVE_DLG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), IRRECO_TYPE_THEME_SAVE_DLG, IrrecoThemeSaveDlgClass))
30 typedef struct _IrrecoThemeSaveDlgClass IrrecoThemeSaveDlgClass;
31 typedef struct _IrrecoThemeSaveDlg IrrecoThemeSaveDlg;
33 #endif /* __IRRECO_THEME_SAVE_DLG_H_TYPEDEF__ */
35 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
36 /* Include */
37 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
38 #ifndef __IRRECO_THEME_SAVE_DLG_H__
39 #define __IRRECO_THEME_SAVE_DLG_H__
40 #include "irreco.h"
41 #include "irreco_internal_dlg.h"
42 #include "irreco_bg_browser_widget.h"
43 #include "irreco_theme_creator_dlg.h"
44 #include "irreco_button.h"
45 #include "irreco_button_browser_widget.h"
47 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
48 /* Datatypes */
49 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
52 struct _IrrecoThemeSaveDlgClass
54 IrrecoInternalDlgClass parent_class;
57 struct _IrrecoThemeSaveDlg
59 IrrecoInternalDlg parent_instance;
60 IrrecoTheme *theme;
61 IrrecoData *irreco_data;
62 GtkWindow *parent_window;
64 GtkWidget *label;
65 GtkWidget *save_dialog;
66 GtkWidget *radio1, *radio2, *radio3;
68 gint loader_state;
69 gint loader_func_id;
74 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
75 /* Prototypes */
76 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
79 GType irreco_theme_save_dlg_get_type (void) G_GNUC_CONST;
80 gboolean
81 irreco_theme_save_dlg_run(IrrecoData *irreco_data, IrrecoTheme *irreco_theme,
82 GtkWindow *parent_window);
84 #endif /* _IRRECO_THEME_SAVE_DLG_H_ */
85 /** @} */