update copyright year
[claws.git] / src / plugins / managesieve / sieve_manager.h
1 /*
2  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
3  * Copyright (C) 2004-2015 the Claws Mail team
4  * Copyright (C) 2014-2015 Charles Lehner
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 3 of the License, or
9  * (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, see <http://www.gnu.org/licenses/>.
18  * 
19  */
20
21 #ifndef SIEVE_MANAGER_H
22 #define SIEVE_MANAGER_H
23
24 #include "managesieve.h"
25
26 typedef struct SieveManagerPage SieveManagerPage;
27
28 struct SieveManagerPage
29 {
30         GtkWidget*      window;
31         GtkWidget*      accounts_menu;
32         GtkWidget*      status_text;
33         GtkWidget*      filters_list;
34         GtkWidget*      vbox_buttons;
35         SieveSession    *active_session;
36         gboolean        got_list;
37 };
38
39 void sieve_managers_done(void);
40 void sieve_manager_show(void);
41 void sieve_manager_done(SieveManagerPage *page);
42 void sieve_manager_script_created(SieveSession *session,
43                 const gchar *filter_name);
44
45 #endif /* SIEVE_MANAGER_H */