1 /* 2 * Copyright (C) 2009 Marc Pavot <marc.pavot@gmail.com> 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2, or (at your option) 7 * any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 * 18 */ 19 20 #ifndef __ARIO_PLAYLIST_PREFERENCES_H 21 #define __ARIO_PLAYLIST_PREFERENCES_H 22 23 #include <glib.h> 24 #include <gtk/gtk.h> 25 26 G_BEGIN_DECLS 27 28 #define TYPE_ARIO_PLAYLIST_PREFERENCES (ario_playlist_preferences_get_type ()) 29 #define ARIO_PLAYLIST_PREFERENCES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ARIO_PLAYLIST_PREFERENCES, ArioPlaylistPreferences)) 30 #define ARIO_PLAYLIST_PREFERENCES_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), TYPE_ARIO_PLAYLIST_PREFERENCES, ArioPlaylistPreferencesClass)) 31 #define IS_ARIO_PLAYLIST_PREFERENCES(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ARIO_PLAYLIST_PREFERENCES)) 32 #define IS_ARIO_PLAYLIST_PREFERENCES_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ARIO_PLAYLIST_PREFERENCES)) 33 #define ARIO_PLAYLIST_PREFERENCES_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ARIO_PLAYLIST_PREFERENCES, ArioPlaylistPreferencesClass)) 34 35 typedef struct ArioPlaylistPreferencesPrivate ArioPlaylistPreferencesPrivate; 36 37 typedef struct 38 { 39 GtkBox parent; 40 41 ArioPlaylistPreferencesPrivate *priv; 42 } ArioPlaylistPreferences; 43 44 typedef struct 45 { 46 GtkBoxClass parent_class; 47 } ArioPlaylistPreferencesClass; 48 49 GType ario_playlist_preferences_get_type (void) G_GNUC_CONST; 50 51 GtkWidget * ario_playlist_preferences_new (void); 52 53 G_END_DECLS 54 55 #endif /* __ARIO_PLAYLIST_PREFERENCES_H */ 56