aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine/e-mail-session.h
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2012-03-02 18:10:34 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-03-03 22:02:34 +0800
commit18593a0fb99e04854f66459972b2c53fca601cda (patch)
tree3ab1b17fa1b079e1cecc9ff0055bde40f55e588c /libemail-engine/e-mail-session.h
parentf2ae5f830dc506e084731111008a8e90c093e97e (diff)
downloadgsoc2013-evolution-18593a0fb99e04854f66459972b2c53fca601cda.tar.gz
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 'libemail-engine/e-mail-session.h')
-rw-r--r--libemail-engine/e-mail-session.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libemail-engine/e-mail-session.h b/libemail-engine/e-mail-session.h
index af7892dc22..16a65928c3 100644
--- a/libemail-engine/e-mail-session.h
+++ b/libemail-engine/e-mail-session.h
@@ -28,6 +28,7 @@
#include <camel/camel.h>
#include <libemail-engine/e-mail-enums.h>
#include <libemail-engine/mail-folder-cache.h>
+#include <libemail-utils/em-vfolder-context.h>
/* Standard GObject macros */
#define E_TYPE_MAIL_SESSION \
@@ -65,6 +66,9 @@ struct _EMailSession {
struct _EMailSessionClass {
CamelSessionClass parent_class;
+
+ EMVFolderContext * (*create_vfolder_context) (EMailSession *session);
+
};
GType e_mail_session_get_type (void);
@@ -72,6 +76,8 @@ EMailSession * e_mail_session_new (void);
MailFolderCache *
e_mail_session_get_folder_cache (EMailSession *session);
CamelStore * e_mail_session_get_local_store (EMailSession *session);
+CamelStore * e_mail_session_get_vfolder_store
+ (EMailSession *session);
CamelFolder * e_mail_session_get_local_folder (EMailSession *session,
EMailLocalFolder type);
const gchar * e_mail_session_get_local_folder_uri
@@ -122,7 +128,9 @@ CamelFolder * e_mail_session_uri_to_folder_finish
(EMailSession *session,
GAsyncResult *result,
GError **error);
-
+EMVFolderContext *
+ e_mail_session_create_vfolder_context
+ (EMailSession *session);
/*** Legacy API ***/
void mail_session_flush_filter_log (EMailSession *session);