1 /* 2 * Brasero is free software; you can redistribute it and/or modify 3 * it under the terms of the GNU General Public License as published by 4 * the Free Software Foundation; either version 2 of the License, or 5 * (at your option) any later version. 6 * 7 * Brasero is distributed in the hope that it will be useful, 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * GNU Library General Public License for more details. 11 * 12 * You should have received a copy of the GNU General Public License 13 * along with this program; if not, write to: 14 * The Free Software Foundation, Inc., 15 * 51 Franklin Street, Fifth Floor 16 * Boston, MA 02110-1301, USA. 17 */ 18 /*************************************************************************** 19 * play-list.h 20 * 21 * mer mai 25 22:22:53 2005 22 * Copyright 2005 Philippe Rouquier 23 * brasero-app@wanadoo.fr 24 ****************************************************************************/ 25 26 #ifdef HAVE_CONFIG_H 27 # include <config.h> 28 #endif 29 30 #ifdef BUILD_PLAYLIST 31 32 #ifndef PLAY_LIST_H 33 #define PLAY_LIST_H 34 35 #include <glib.h> 36 #include <glib-object.h> 37 #include <gtk/gtk.h> 38 39 G_BEGIN_DECLS 40 41 #define BRASERO_TYPE_PLAYLIST (brasero_playlist_get_type ()) 42 #define BRASERO_PLAYLIST(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), BRASERO_TYPE_PLAYLIST, BraseroPlaylist)) 43 #define BRASERO_PLAYLIST_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), BRASERO_TYPE_PLAYLIST, BraseroPlaylistClass)) 44 #define BRASERO_IS_PLAY_LIST(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), BRASERO_TYPE_PLAYLIST)) 45 #define BRASERO_IS_PLAY_LIST_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), BRASERO_TYPE_PLAYLIST)) 46 #define BRASERO_PLAYLIST_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), BRASERO_TYPE_PLAYLIST, BraseroPlaylistClass)) 47 typedef struct BraseroPlaylistPrivate BraseroPlaylistPrivate; 48 49 typedef struct { 50 GtkBox parent; 51 BraseroPlaylistPrivate *priv; 52 } BraseroPlaylist; 53 54 typedef struct { 55 GtkBoxClass parent_class; 56 } BraseroPlaylistClass; 57 58 GType brasero_playlist_get_type (void); 59 GtkWidget *brasero_playlist_new (void); 60 61 G_END_DECLS 62 63 #endif /* PLAY_LIST_H */ 64 65 #endif 66