1 /* 2 * This program is free software; you can redistribute it and/or modify it 3 * under the terms of the GNU Lesser General Public License as published by 4 * the Free Software Foundation. 5 * 6 * This program is distributed in the hope that it will be useful, but 7 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 8 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 9 * for more details. 10 * 11 * You should have received a copy of the GNU Lesser General Public License 12 * along with this program; if not, see <http://www.gnu.org/licenses/>. 13 * 14 * 15 * Authors: 16 * 17 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) 18 * 19 */ 20 21 #ifndef MAIL_VFOLDER_UI_H 22 #define MAIL_VFOLDER_UI_H 23 24 #include <camel/camel.h> 25 26 #include <libemail-engine/libemail-engine.h> 27 28 #include <mail/e-mail-backend.h> 29 #include <shell/e-shell-view.h> 30 31 void vfolder_edit (EMailBackend *backend, 32 GtkWindow *parent_window); 33 void vfolder_edit_rule (EMailSession *session, 34 const gchar *folder_uri, 35 EAlertSink *alert_sink); 36 EFilterRule * vfolder_clone_rule (EMailSession *session, 37 EFilterRule *in); 38 void vfolder_gui_add_rule (EMVFolderRule *rule); 39 void vfolder_gui_add_from_message (EMailSession *session, 40 CamelMimeMessage *message, 41 gint flags, 42 CamelFolder *folder); 43 void vfolder_gui_add_from_address (EMailSession *session, 44 CamelInternetAddress *addr, 45 gint flags, 46 CamelFolder *folder); 47 48 #endif /* MAIL_VFOLDER_UI_H */ 49