diff options
author | Srinivasa Ragavan <sragavan@gnome.org> | 2012-03-02 18:10:34 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-03-03 22:02:34 +0800 |
commit | 18593a0fb99e04854f66459972b2c53fca601cda (patch) | |
tree | 3ab1b17fa1b079e1cecc9ff0055bde40f55e588c /mail/mail-vfolder-ui.h | |
parent | f2ae5f830dc506e084731111008a8e90c093e97e (diff) | |
download | gsoc2013-evolution-18593a0fb99e04854f66459972b2c53fca601cda.tar gsoc2013-evolution-18593a0fb99e04854f66459972b2c53fca601cda.tar.gz gsoc2013-evolution-18593a0fb99e04854f66459972b2c53fca601cda.tar.bz2 gsoc2013-evolution-18593a0fb99e04854f66459972b2c53fca601cda.tar.lz gsoc2013-evolution-18593a0fb99e04854f66459972b2c53fca601cda.tar.xz gsoc2013-evolution-18593a0fb99e04854f66459972b2c53fca601cda.tar.zst gsoc2013-evolution-18593a0fb99e04854f66459972b2c53fca601cda.zip |
Move vfolders to libemail-engine and rest as mail-vfolder-ui. It all works and
the daemon can now start the vfolder storage without bothering much with the
UI.
Diffstat (limited to 'mail/mail-vfolder-ui.h')
-rw-r--r-- | mail/mail-vfolder-ui.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/mail/mail-vfolder-ui.h b/mail/mail-vfolder-ui.h new file mode 100644 index 0000000000..55b838c63b --- /dev/null +++ b/mail/mail-vfolder-ui.h @@ -0,0 +1,50 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with the program; if not, see <http://www.gnu.org/licenses/> + * + * + * Authors: + * + * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) + * + */ + +#ifndef _MAIL_VFOLDER_UI_H +#define _MAIL_VFOLDER_UI_H + +#include <camel/camel.h> + +#include <filter/e-filter-part.h> +#include <filter/e-filter-rule.h> +#include <mail/e-mail-backend.h> +#include <libemail-utils/em-vfolder-rule.h> +#include <shell/e-shell-view.h> +#include <libemail-engine/mail-vfolder.h> + +void vfolder_edit (EMailBackend *backend, + GtkWindow *parent_window); +void vfolder_edit_rule (EMailSession *session, + const gchar *folder_uri, + EAlertSink *alert_sink); +EFilterRule * vfolder_clone_rule (EMailSession *session, + EFilterRule *in); +void vfolder_gui_add_rule (EMVFolderRule *rule); +void vfolder_gui_add_from_message (EMailSession *session, + CamelMimeMessage *message, + gint flags, + CamelFolder *folder); +void vfolder_gui_add_from_address (EMailSession *session, + CamelInternetAddress *addr, + gint flags, + CamelFolder *folder); +#endif |