1 /********************************************************************\ 2 * gnc-splash.h -- splash screen for GnuCash * 3 * Copyright (C) 2001 Gnumatic, Inc. * 4 * * 5 * This program is free software; you can redistribute it and/or * 6 * modify it under the terms of the GNU General Public License as * 7 * published by the Free Software Foundation; either version 2 of * 8 * the License, or (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, contact: * 17 * * 18 * Free Software Foundation Voice: +1-617-542-5942 * 19 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * 20 * Boston, MA 02110-1301, USA gnu@gnu.org * 21 \********************************************************************/ 22 23 #ifndef GNC_SPLASH_H 24 #define GNC_SPLASH_H 25 #include <gtk/gtk.h> 26 27 void gnc_show_splash_screen (void); 28 void gnc_destroy_splash_screen (void); 29 void gnc_update_splash_screen (const gchar *string, double percentage); 30 GtkWindow *gnc_get_splash_screen (void); 31 32 #define GNC_SPLASH_PERCENTAGE_UNKNOWN 101 33 34 #endif 35