GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gnc-html-extras.h
1 /********************************************************************
2  * gnc-html-extras.h -- display html with gnc special tags *
3  * Copyright (C) 2009 Phil Longstaff <[email protected]> *
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 [email protected] *
21 \********************************************************************/
22 
23 #ifndef GNC_HTML_EXTRAS_H
24 #define GNC_HTML_EXTRAS_H
25 
26 // This file is needed so that these definitions can be separately included in the
27 // gnc-html.i file. The full gnc-html.h file can't be parsed because of the new
28 // use of GObject
29 
30 typedef gchar* URLType;
31 
32 #define URL_TYPE_FILE "file"
33 #define URL_TYPE_JUMP "jump"
34 #define URL_TYPE_HTTP "http"
35 #define URL_TYPE_FTP "ftp"
36 #define URL_TYPE_SECURE "secure"
37 #define URL_TYPE_REGISTER "register" /* for gnucash register popups */
38 #define URL_TYPE_ACCTTREE "accttree" /* for account tree windows */
39 #define URL_TYPE_REPORT "report" /* for gnucash report popups */
40 #define URL_TYPE_OPTIONS "options" /* for editing report options */
41 #define URL_TYPE_SCHEME "scheme" /* for scheme code evaluation */
42 #define URL_TYPE_HELP "help" /* for a gnucash help window */
43 #define URL_TYPE_XMLDATA "xmldata" /* links to gnucash XML data files */
44 #define URL_TYPE_PRICE "price" /* for price editor popups */
45 #define URL_TYPE_OTHER "other"
46 #define URL_TYPE_BUDGET "budget"
47 
48 gchar* gnc_build_url( URLType type, const gchar* location, const gchar* label );
49 
50 gboolean gnc_html_engine_supports_css( void );
51 
52 #endif