GnuCash 2.4.99
gnc-html-extras.h
00001 /********************************************************************
00002  * gnc-html-extras.h -- display html with gnc special tags          *
00003  * Copyright (C) 2009 Phil Longstaff <plongstaff@rogers.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_EXTRAS_H
00024 #define GNC_HTML_EXTRAS_H
00025 
00026 // This file is needed so that these definitions can be separately included in the
00027 // gnc-html.i file.  The full gnc-html.h file can't be parsed because of the new
00028 // use of GObject
00029 
00030 typedef gchar* URLType;
00031 
00032 #define URL_TYPE_FILE   "file"
00033 #define URL_TYPE_JUMP   "jump"
00034 #define URL_TYPE_HTTP   "http"
00035 #define URL_TYPE_FTP    "ftp"
00036 #define URL_TYPE_SECURE "secure"
00037 #define URL_TYPE_REGISTER       "register"   /* for gnucash register popups */
00038 #define URL_TYPE_ACCTTREE       "accttree"   /* for account tree windows */
00039 #define URL_TYPE_REPORT "report"     /* for gnucash report popups */
00040 #define URL_TYPE_OPTIONS        "options"    /* for editing report options */
00041 #define URL_TYPE_SCHEME "scheme"     /* for scheme code evaluation */
00042 #define URL_TYPE_HELP   "help"       /* for a gnucash help window */
00043 #define URL_TYPE_XMLDATA        "xmldata"    /* links to gnucash XML data files */
00044 #define URL_TYPE_PRICE  "price"      /* for price editor popups */
00045 #define URL_TYPE_OTHER  "other"
00046 #define URL_TYPE_BUDGET "budget"
00047 
00048 gchar* gnc_build_url( URLType type, const gchar* location, const gchar* label );
00049 
00050 gboolean gnc_html_engine_supports_css( void );
00051 
00052 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines