]> git.sur5r.net Git - glabels/blob - glabels2/src/prefs-dialog.h
Initial revision
[glabels] / glabels2 / src / prefs-dialog.h
1 /*
2  *  (GLABELS) Label and Business Card Creation program for GNOME
3  *
4  *  prefs-dialog.h:  Preferences dialog module header file
5  *
6  *  Copyright (C) 2001-2002  Jim Evins <evins@snaught.com>.
7  *
8  *  This program is free software; you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation; either version 2 of the License, or
11  *  (at your option) any later version.
12  *
13  *  This program is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with this program; if not, write to the Free Software
20  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21  */
22
23 #ifndef __PREFS_DIALOG_H__
24 #define __PREFS_DIALOG_H__
25
26 #include <gtk/gtk.h>
27
28 #define GL_TYPE_PREFS_DIALOG            (gl_prefs_dialog_get_type ())
29 #define GL_PREFS_DIALOG(obj)            (GTK_CHECK_CAST ((obj), GL_TYPE_PREFS_DIALOG, glPrefsDialog))
30 #define GL_PREFS_DIALOG_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GL_TYPE_PREFS_DIALOG, glPrefsDialogClass))
31 #define GL_IS_PREFS_DIALOG(obj)         (GTK_CHECK_TYPE ((obj), GL_TYPE_PREFS_DIALOG))
32 #define GL_IS_PREFS_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GL_TYPE_PREFS_DIALOG))
33 #define GL_PREFS_DIALOG_GET_CLASS(obj)  (GTK_CHECK_GET_CLASS ((obj), GL_TYPE_PREFS_DIALOG, glPrefsDialogClass))
34
35
36 typedef struct _glPrefsDialog           glPrefsDialog;
37 typedef struct _glPrefsDialogClass      glPrefsDialogClass;
38
39 typedef struct _glPrefsDialogPrivate    glPrefsDialogPrivate;
40
41 struct _glPrefsDialog
42 {
43         GtkDialog parent_instance;
44
45         glPrefsDialogPrivate *private;
46
47 };
48
49 struct  _glPrefsDialogClass
50 {
51         GtkDialogClass parent_class;
52 };
53
54 GtkType         gl_prefs_dialog_get_type        (void) G_GNUC_CONST;
55
56 GtkWidget*      gl_prefs_dialog_new             (GtkWindow *parent);
57
58 #endif /* __PREFS_DIALOG_H__ */