1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ 2 /* 3 * brasero 4 * Copyright (C) Philippe Rouquier 2007-2008 <bonfire-app@wanadoo.fr> 5 * 6 * Brasero is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * brasero is distributed in the hope that it will be useful, 12 * but 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. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with brasero. If not, write to: 18 * The Free Software Foundation, Inc., 19 * 51 Franklin Street, Fifth Floor 20 * Boston, MA 02110-1301, USA. 21 */ 22 23 #ifndef _BRASERO_PLUGIN_OPTION_H_ 24 #define _BRASERO_PLUGIN_OPTION_H_ 25 26 #include <glib-object.h> 27 28 #include <gtk/gtk.h> 29 30 G_BEGIN_DECLS 31 32 #define BRASERO_TYPE_PLUGIN_OPTION (brasero_plugin_option_get_type ()) 33 #define BRASERO_PLUGIN_OPTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BRASERO_TYPE_PLUGIN_OPTION, BraseroPluginOption)) 34 #define BRASERO_PLUGIN_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BRASERO_TYPE_PLUGIN_OPTION, BraseroPluginOptionClass)) 35 #define BRASERO_IS_PLUGIN_OPTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BRASERO_TYPE_PLUGIN_OPTION)) 36 #define BRASERO_IS_PLUGIN_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BRASERO_TYPE_PLUGIN_OPTION)) 37 #define BRASERO_PLUGIN_OPTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BRASERO_TYPE_PLUGIN_OPTION, BraseroPluginOptionClass)) 38 39 typedef struct _BraseroPluginOptionClass BraseroPluginOptionClass; 40 typedef struct _BraseroPluginOption BraseroPluginOption; 41 42 struct _BraseroPluginOptionClass 43 { 44 GtkDialogClass parent_class; 45 }; 46 47 struct _BraseroPluginOption 48 { 49 GtkDialog parent_instance; 50 }; 51 52 GType brasero_plugin_option_get_type (void) G_GNUC_CONST; 53 54 GtkWidget * 55 brasero_plugin_option_new (void); 56 57 void 58 brasero_plugin_option_set_plugin (BraseroPluginOption *dialog, 59 BraseroPlugin *plugin); 60 61 G_END_DECLS 62 63 #endif /* _BRASERO_PLUGIN_OPTION_H_ */ 64