From df85cb1b7a47f713cb775f648f735e642a1bb71b Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 16 Dec 2011 06:34:13 -0500 Subject: EMailSession: Add "activity-added" signal. EMailBackend catches these signals and forwards the EActivity to e_shell_backend_add_activity(). --- mail/e-mail-session.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mail/e-mail-session.h') diff --git a/mail/e-mail-session.h b/mail/e-mail-session.h index f810cf6c4a..ccba8263f4 100644 --- a/mail/e-mail-session.h +++ b/mail/e-mail-session.h @@ -26,6 +26,7 @@ #define E_MAIL_SESSION_H #include +#include #include #include #include @@ -66,10 +67,15 @@ struct _EMailSession { struct _EMailSessionClass { CamelSessionClass parent_class; + + void (*activity_added) (EMailSession *session, + EActivity *activity); }; GType e_mail_session_get_type (void); EMailSession * e_mail_session_new (void); +void e_mail_session_add_activity (EMailSession *session, + EActivity *activity); EMailAccountStore * e_mail_session_get_account_store (EMailSession *session); -- cgit