Add a plugin method to allow updating stored passwords on master password change.
[claws.git] / src / plugins / fancy / fancy_prefs.h
1 /* 
2  * Claws Mail -- A GTK+ based, lightweight, and fast e-mail client
3  * Copyright(C) 1999-2014 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.
18  */
19
20 #ifndef FANCY_PREFS_H
21 #define FANCY_PREFS_H
22
23 #include <glib.h>
24 #include <webkit/webkitwebsettings.h>
25 typedef struct _FancyPrefs FancyPrefs;
26
27 struct _FancyPrefs
28         {
29         WebKitWebSettings *web_settings;
30
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 #ifdef HAVE_LIBSOUP_GNOME
39         gboolean enable_gnome_proxy;
40 #endif
41         gboolean enable_proxy;
42         gchar *proxy_str;
43         gchar *stylesheet;
44 };
45
46 extern FancyPrefs fancy_prefs;
47
48 void fancy_prefs_init(void);
49 void fancy_prefs_done(void);
50
51 #endif