00001 /***************************************************************************** 00002 * 00003 * cdebconf - An implementation of the Debian Configuration Management 00004 * System 00005 * 00006 * $Id$ 00007 * 00008 * cdebconf is (c) 2000-2007 Randolph Chung and others under the following 00009 * license. 00010 * 00011 * Redistribution and use in source and binary forms, with or without 00012 * modification, are permitted provided that the following conditions 00013 * are met: 00014 * 00015 * 1. Redistributions of source code must retain the above copyright 00016 * notice, this list of conditions and the following disclaimer. 00017 * 00018 * 2. Redistributions in binary form must reproduce the above copyright 00019 * notice, this list of conditions and the following disclaimer in the 00020 * documentation and/or other materials provided with the distribution. 00021 * 00022 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND 00023 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00024 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 00025 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 00026 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00027 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 00028 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 00029 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 00030 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 00031 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 00032 * SUCH DAMAGE. 00033 * 00034 *****************************************************************************/ 00035 00040 #ifndef _FE_DATA_H 00041 #define _FE_DATA_H 00042 00043 #include <gtk/gtk.h> 00044 00045 #include "progress.h" 00046 #include "go.h" 00047 00052 struct frontend_data 00053 { 00055 GtkWidget * window; 00056 00062 GtkWidget * title; 00063 00068 struct progress_data * progress_data; 00069 00075 struct setter * setters; 00076 00078 GtkWidget * action_box; 00079 00081 GtkWidget * target_box; 00082 00087 GThread * event_listener; 00088 00097 int answer; 00098 00104 GCond * answer_cond; 00105 00110 GMutex * answer_mutex; 00111 00119 GHashTable * plugins; 00120 00121 #ifdef DI_UDEB 00122 00126 struct di_data * di_data; 00127 #endif /* DI_UDEB */ 00128 }; 00129 00130 #endif /* !_FE_DATA_H */ 00131 00132 /* vim: et sw=4 si 00133 */
1.5.1