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 _HANDLERS_H_ 00041 #define _HANDLERS_H_ 00042 00043 #include <gtk/gtk.h> 00044 00045 #include "frontend.h" 00046 #include "question.h" 00047 00048 int fe_gtk_handle_boolean(struct frontend * obj, struct question * q, 00049 GtkWidget * qbox); 00050 00051 int fe_gtk_handle_note(struct frontend * obj, struct question * q, 00052 GtkWidget * qbox); 00053 00054 int fe_gtk_handle_text(struct frontend * obj, struct question * q, 00055 GtkWidget *qbox); 00056 00057 int fe_gtk_handle_password(struct frontend * obj, struct question * q, 00058 GtkWidget * qbox); 00059 00060 int fe_gtk_handle_string(struct frontend * obj, struct question * q, 00061 GtkWidget * qbox); 00062 00063 #endif /* !_HANDLERS_H */
1.5.1