1 /* splash.h 2 * Copyright (C) 2002-2004 Pascal Eberhard <pascal.ebo@netcourrier.com> 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License as 6 * published by the Free Software Foundation; either version 2 of the 7 * License, or (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 GNU 12 * General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public 15 * License along with this program; if not, write to the 16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 * Boston, MA 02111-1307, USA. 18 */ 19 20 // ---------------------------------------------------------------------------- 21 // ---------------------------------------------------------------------------- 22 #ifndef PROGRESSWINDOW__H 23 #define PROGRESSWINDOW__H 24 #include "common.h" 25 26 typedef struct splash_t { 27 struct apwalapp_t *apwal; 28 GtkWidget *window; 29 GtkWidget *progressbar; 30 GdkCursor *busycursor; 31 gboolean showed; 32 } splash_t; 33 34 splash_t* splash_new(struct apwalapp_t *apwal); 35 void splash_show(splash_t *splash); 36 void splash_hide(splash_t *splash); 37 void splash_update(splash_t *splash); 38 39 #endif /* PROGRESSWINDOW__H */ 40 // ---------------------------------------------------------------------------- 41