GnuCash c935c2f+
Loading...
Searching...
No Matches
gnc-html-factory.cpp
1/********************************************************************
2 * gnc-html_factory.c -- Factory to create HTML component *
3 * *
4 * Copyright (C) 2009 Phil Longstaff <plongstaff@rogers.com> *
5 * *
6 * This program is free software; you can redistribute it and/or *
7 * modify it under the terms of the GNU General Public License as *
8 * published by the Free Software Foundation; either version 2 of *
9 * the License, or (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License*
17 * along with this program; if not, contact: *
18 * *
19 * Free Software Foundation Voice: +1-617-542-5942 *
20 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
21 * Boston, MA 02110-1301, USA gnu@gnu.org *
22 ********************************************************************/
23
24#include <config.h>
25
26#include <gtk/gtk.h>
27
28#include "gnc-html.h"
29#include "gnc-html-webkit.hpp"
30#include "qoflog.h"
31#include "gnc-engine.h"
32
33#include "gnc-html-factory.hpp"
34
35/* indicates the debugging module that this .o belongs to. */
36G_GNUC_UNUSED static QofLogModule log_module = GNC_MOD_HTML;
37
38GncHtml*
39gnc_html_factory_create_html( void ) noexcept
40{
41 return gnc_html_webkit_new();
42}
43
44gboolean
45gnc_html_engine_supports_css( void ) noexcept
46{
47 return TRUE;
48}
All type declarations for the whole Gnucash engine.