GnuCash 2.4.99
gnc-html-p.h
00001 /********************************************************************
00002  * gnc-html-p.h -- display html with gnc special tags               *
00003  * Copyright (C) 2000 Bill Gribble <grib@billgribble.com>           *
00004  *                                                                  *
00005  * This program is free software; you can redistribute it and/or    *
00006  * modify it under the terms of the GNU General Public License as   *
00007  * published by the Free Software Foundation; either version 2 of   *
00008  * the License, or (at your option) any later version.              *
00009  *                                                                  *
00010  * This program is distributed in the hope that it will be useful,  *
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of   *
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    *
00013  * GNU General Public License for more details.                     *
00014  *                                                                  *
00015  * You should have received a copy of the GNU General Public License*
00016  * along with this program; if not, contact:                        *
00017  *                                                                  *
00018  * Free Software Foundation           Voice:  +1-617-542-5942       *
00019  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
00020  * Boston, MA  02110-1301,  USA       gnu@gnu.org                   *
00021 \********************************************************************/
00022 
00023 #ifndef GNC_HTML_P_H
00024 #define GNC_HTML_P_H
00025 
00026 struct _GncHtmlPrivate
00027 {
00028     GtkWidget* parent;                          /* window this html goes into */
00029     GtkWidget* container;                       /* parent of the webkit widget */
00030     gchar* current_link;                        /* link under mouse pointer */
00031 
00032     URLType base_type;                          /* base of URL (path - filename) */
00033     gchar* base_location;
00034 
00035     GHashTable* request_info;           /* hash uri to GList of GtkHTMLStream * */
00036 
00037     /* callbacks */
00038     GncHTMLUrltypeCB urltype_cb;        /* is this type OK for this instance? */
00039     GncHTMLLoadCB load_cb;
00040     GncHTMLFlyoverCB flyover_cb;
00041     GncHTMLButtonCB button_cb;
00042 
00043     gpointer flyover_cb_data;
00044     gpointer load_cb_data;
00045     gpointer button_cb_data;
00046 
00047     gnc_html_history * history;
00048 };
00049 
00050 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines