2 * Copyright (C) 1999 Red Hat Software. Inc.
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
19 #ifndef __GNOME_OPEN_DIALOG_H__
20 #define __GNOME_OPEN_DIALOG_H__
27 #endif /* __cplusplus */
29 #define GNOME_TYPE_OPEN_DIALOG (gnome_open_dialog_get_type ())
30 #define GNOME_OPEN_DIALOG(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_OPEN_DIALOG, GnomeOpenDialog))
31 #define GNOME_OPEN_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_OPEN_DIALOG, GnomeOpenDialogClass))
32 #define GNOME_IS_OPEN_DIALOG(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_OPEN_DIALOG))
33 #define GNOME_IS_OPEN_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), GNOME_TYPE_OPEN_DIALOG))
36 typedef struct _GnomeOpenDialog GnomeOpenDialog
;
37 typedef struct _GnomeOpenDialogClass GnomeOpenDialogClass
;
39 struct _GnomeOpenDialog
47 struct _GnomeOpenDialogClass
49 GnomeDialogClass parent_class
;
53 GtkType
gnome_open_dialog_get_type (void);
54 GtkWidget
*gnome_open_dialog_new (gchar
*file_name
);
58 #endif /* __cplusplus */
61 #endif /* __GNOME_OPEN_DIALOG_H__ */