1 /* 2 * Copyright (C) 2013 Bastien Nocera <hadess@hadess.net> 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 of the License, or 7 * (at your option) 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 17 * 18 * The Totem project hereby grant permission for non-gpl compatible GStreamer 19 * plugins to be used and distributed together with GStreamer and Totem. This 20 * permission are above and beyond the permissions granted by the GPL license 21 * Totem is covered by. 22 * 23 * Monday 7th February 2005: Christian Schaller: Add exception clause. 24 * See license_change file for details. 25 * 26 */ 27 28 #include <gtk/gtk.h> 29 #include <grilo.h> 30 31 void totem_grilo_setup_icons (void); 32 void totem_grilo_clear_icons (void); 33 GdkPixbuf *totem_grilo_get_icon (GrlMedia *media, 34 gboolean *thumbnailing); 35 const GdkPixbuf *totem_grilo_get_video_icon (void); 36 const GdkPixbuf *totem_grilo_get_box_icon (void); 37 const GdkPixbuf *totem_grilo_get_channel_icon (void); 38 const GdkPixbuf *totem_grilo_get_optical_icon (void); 39 40 void totem_grilo_pause_icon_thumbnailing (void); 41 void totem_grilo_resume_icon_thumbnailing (void); 42 43 void totem_grilo_get_thumbnail (GObject *object, 44 GCancellable *cancellable, 45 GAsyncReadyCallback callback, 46 gpointer user_data); 47 GdkPixbuf *totem_grilo_get_thumbnail_finish (GObject *object, 48 GAsyncResult *res, 49 GError **error); 50