Fix bug #3363 “preferences page composition seems weird”
[claws.git] / src / plugins / rssyl / rssyl_prefs.h
1 /*
2  * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
3  * Copyright (C) 1999-2015 Hiroyuki Yamamoto and the Claws Mail team
4  * This file (C) 2005-2015 Andrej Kacian <andrej@kacian.sk>
5  *
6  * - Plugin preferences
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21  */
22
23 #ifndef __RSSYL_PREFS
24 #define __RSSYL_PREFS
25
26 #define PREFS_BLOCK_NAME        "rssyl"
27
28 #define PREF_DEFAULT_REFRESH    "180"
29
30 typedef struct _RPrefs RPrefs;
31
32 struct _RPrefs {
33         gboolean refresh_enabled;
34         gint refresh;
35         gboolean refresh_on_startup;
36         gchar *cookies_path;
37         gboolean ssl_verify_peer;
38 };
39
40 typedef struct _RPrefsPage RPrefsPage;
41
42 struct _RPrefsPage {
43         PrefsPage page;
44         GtkWidget *refresh_enabled;
45         GtkWidget *refresh;
46         GtkWidget *refresh_on_startup;
47         GtkWidget *cookies_path;
48         GtkWidget *ssl_verify_peer;
49 };
50
51 void rssyl_prefs_init(void);
52 void rssyl_prefs_done(void);
53 RPrefs *rssyl_prefs_get(void);
54
55 #endif /* __RSSYL_PREFS */