1 /*************************************************************************** 2 * 3 * 4 * Copyright 2008 Philippe Rouquier <brasero-app@wanadoo.fr> 5 * Copyright 2008 Luis Medinas <lmedinas@gmail.com> 6 * 7 * 8 * Brasero 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 * Brasero 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 Library 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: 20 * The Free Software Foundation, Inc., 21 * 51 Franklin Street, Fifth Floor 22 * Boston, MA 02110-1301, USA. 23 * 24 */ 25 26 #ifndef BRASERO_EJECT_DIALOG_H 27 #define BRASERO_EJECT_DIALOG_H 28 29 #include <glib.h> 30 #include <glib-object.h> 31 32 #include <gtk/gtk.h> 33 34 G_BEGIN_DECLS 35 36 #define BRASERO_TYPE_EJECT_DIALOG (brasero_eject_dialog_get_type ()) 37 #define BRASERO_EJECT_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), BRASERO_TYPE_EJECT_DIALOG, BraseroEjectDialog)) 38 #define BRASERO_EJECT_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), BRASERO_TYPE_EJECT_DIALOG, BraseroEjectDialogClass)) 39 #define BRASERO_IS_EJECT_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), BRASERO_TYPE_EJECT_DIALOG)) 40 #define BRASERO_IS_EJECT_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), BRASERO_TYPE_EJECT_DIALOG)) 41 #define BRASERO_EJECT_DIALOG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), BRASERO_TYPE_EJECT_DIALOG, BraseroEjectDialogClass)) 42 43 typedef struct _BraseroEjectDialog BraseroEjectDialog; 44 typedef struct _BraseroEjectDialogClass BraseroEjectDialogClass; 45 46 struct _BraseroEjectDialog { 47 GtkDialog parent; 48 }; 49 50 struct _BraseroEjectDialogClass { 51 GtkDialogClass parent_class; 52 }; 53 54 GType brasero_eject_dialog_get_type (void); 55 GtkWidget *brasero_eject_dialog_new (void); 56 57 gboolean 58 brasero_eject_dialog_cancel (BraseroEjectDialog *dialog); 59 60 G_END_DECLS 61 62 #endif /* BRASERO_Eject_DIALOG_H */ 63