1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ 2 /* 3 * brasero 4 * Copyright (C) Philippe Rouquier 2005-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_FILE_FILTERED_H_ 24 #define _BRASERO_FILE_FILTERED_H_ 25 26 #include <glib-object.h> 27 #include <gtk/gtk.h> 28 29 #include "brasero-track-data-cfg.h" 30 31 G_BEGIN_DECLS 32 33 #define BRASERO_TYPE_FILE_FILTERED (brasero_file_filtered_get_type ()) 34 #define BRASERO_FILE_FILTERED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BRASERO_TYPE_FILE_FILTERED, BraseroFileFiltered)) 35 #define BRASERO_FILE_FILTERED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BRASERO_TYPE_FILE_FILTERED, BraseroFileFilteredClass)) 36 #define BRASERO_IS_FILE_FILTERED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BRASERO_TYPE_FILE_FILTERED)) 37 #define BRASERO_IS_FILE_FILTERED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BRASERO_TYPE_FILE_FILTERED)) 38 #define BRASERO_FILE_FILTERED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BRASERO_TYPE_FILE_FILTERED, BraseroFileFilteredClass)) 39 40 typedef struct _BraseroFileFilteredClass BraseroFileFilteredClass; 41 typedef struct _BraseroFileFiltered BraseroFileFiltered; 42 43 struct _BraseroFileFilteredClass 44 { 45 GtkExpanderClass parent_class; 46 }; 47 48 struct _BraseroFileFiltered 49 { 50 GtkExpander parent_instance; 51 }; 52 53 GType brasero_file_filtered_get_type (void) G_GNUC_CONST; 54 55 GtkWidget* 56 brasero_file_filtered_new (BraseroTrackDataCfg *track); 57 58 void 59 brasero_file_filtered_set_right_button_group (BraseroFileFiltered *self, 60 GtkSizeGroup *group); 61 62 G_END_DECLS 63 64 #endif /* _BRASERO_FILE_FILTERED_H_ */ 65