GnuCash c935c2f+
Loading...
Searching...
No Matches
gnc-html-p.h
1/********************************************************************
2 * gnc-html-p.h -- display html with gnc special tags *
3 * Copyright (C) 2000 Bill Gribble <grib@billgribble.com> *
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_HTML_P_H
24#define GNC_HTML_P_H
25
27{
28 GtkWidget* parent; /* window this html goes into */
29 GtkWidget* container; /* parent of the webkit widget */
30 gchar* current_link; /* link under mouse pointer */
31
32 URLType base_type; /* base of URL (path - filename) */
33 gchar* base_location;
34
35 GHashTable* request_info; /* hash uri to GList of GtkHTMLStream * */
36
37 /* callbacks */
38 GncHTMLUrltypeCB urltype_cb; /* is this type OK for this instance? */
39 GncHTMLLoadCB load_cb;
40 GncHTMLFlyoverCB flyover_cb;
41 GncHTMLButtonCB button_cb;
42
43 gpointer flyover_cb_data;
44 gpointer load_cb_data;
45 gpointer button_cb_data;
46
47 gnc_html_history * history;
48};
49
50#endif