1 /* 2 * EasyTAG - Tag editor for MP3 and Ogg Vorbis files 3 * Copyright (C) 2000-2003 Jerome Couderc <easytag@gmail.com> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 */ 19 20 #ifndef ET_CDDB_DIALOG_H_ 21 #define ET_CDDB_DIALOG_H_ 22 23 #include <gtk/gtk.h> 24 25 G_BEGIN_DECLS 26 27 #define ET_TYPE_CDDB_DIALOG (et_cddb_dialog_get_type ()) 28 #define ET_CDDB_DIALOG(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), ET_TYPE_CDDB_DIALOG, EtCDDBDialog)) 29 30 typedef struct _EtCDDBDialog EtCDDBDialog; 31 typedef struct _EtCDDBDialogClass EtCDDBDialogClass; 32 33 struct _EtCDDBDialog 34 { 35 /*< private >*/ 36 GtkDialog parent_instance; 37 }; 38 39 struct _EtCDDBDialogClass 40 { 41 /*< private >*/ 42 GtkDialogClass parent_class; 43 }; 44 45 GType et_cddb_dialog_get_type (void); 46 EtCDDBDialog *et_cddb_dialog_new (void); 47 gboolean et_cddb_dialog_search_from_selection (EtCDDBDialog *self); 48 49 G_END_DECLS 50 51 #endif /* ET_CDDB_H_ */ 52