1 /* totem-interface.h 2 3 Copyright (C) 2005,2007 Bastien Nocera <hadess@hadess.net> 4 5 The Gnome Library is free software; you can redistribute it and/or 6 modify it under the terms of the GNU Library General Public License as 7 published by the Free Software Foundation; either version 2 of the 8 License, or (at your option) any later version. 9 10 The Gnome Library 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 GNU 13 Library General Public License for more details. 14 15 You should have received a copy of the GNU Library General Public 16 License along with the Gnome Library; see the file COPYING.LIB. If not, 17 write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 Boston, MA 02110-1301 USA. 19 20 Author: Bastien Nocera <hadess@hadess.net> 21 */ 22 23 #ifndef TOTEM_INTERFACE_H 24 #define TOTEM_INTERFACE_H 25 26 #include <gtk/gtk.h> 27 #include "totem.h" 28 29 G_BEGIN_DECLS 30 31 char *totem_interface_get_full_path (const char *name); 32 GtkBuilder *totem_interface_load (const char *name, 33 gboolean fatal, 34 GtkWindow *parent, 35 gpointer user_data); 36 GtkBuilder *totem_interface_load_with_full_path (const char *filename, 37 gboolean fatal, 38 GtkWindow *parent, 39 gpointer user_data); 40 void totem_interface_error (const char *title, 41 const char *reason, 42 GtkWindow *parent); 43 void totem_interface_error_blocking (const char *title, 44 const char *reason, 45 GtkWindow *parent); 46 void totem_interface_error_with_link (const char *title, 47 const char *reason, 48 const char *uri, 49 const char *label, 50 GtkWindow *parent); 51 GtkWidget * totem_interface_create_header_button (GtkWidget *header, 52 GtkWidget *button, 53 const char *icon_name, 54 GtkPackType pack_type); 55 56 G_END_DECLS 57 58 #endif /* TOTEM_INTERFACE_H */ 59