Fix error creation and warning
[claws.git] / src / plugins / fancy / fancy_prefs.h
blobe0a400df16bef01cd5ac022b9971678bbc0c4557
1 /*
2 * Claws Mail -- A GTK based, lightweight, and fast e-mail client
3 * Copyright(C) 1999-2023 the Claws Mail Team
4 * == Fancy Plugin ==
5 * This file Copyright (C) 2009 -2014 Salvatore De Paolis
6 * <iwkse@claws-mail.org> and the Claws Mail Team
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or
10 * (at your option) any later version.
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 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write tothe Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef FANCY_PREFS_H
21 #define FANCY_PREFS_H
23 #include <glib.h>
24 #include <webkit2/webkit2.h>
25 typedef struct _FancyPrefs FancyPrefs;
27 struct _FancyPrefs
29 WebKitSettings *web_settings;
31 gboolean enable_images;
32 gboolean enable_remote_content;
33 gboolean enable_scripts;
34 gboolean enable_plugins;
35 gboolean enable_java;
36 gboolean open_external;
37 gint zoom_level;
38 // gboolean enable_proxy;
39 // gchar *proxy_str;
40 gchar *stylesheet;
43 extern FancyPrefs fancy_prefs;
45 void fancy_prefs_init(void);
46 void fancy_prefs_done(void);
48 #endif