aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-session.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-12-16 19:34:13 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-12-16 23:57:57 +0800
commitdf85cb1b7a47f713cb775f648f735e642a1bb71b (patch)
treebf10c7928cc7074e22a64fb268413577b0b780da /mail/e-mail-session.h
parent0427f2cac23a9ccec8590515678bc1ae32c54cf5 (diff)
downloadgsoc2013-evolution-df85cb1b7a47f713cb775f648f735e642a1bb71b.tar.gz
gsoc2013-evolution-df85cb1b7a47f713cb775f648f735e642a1bb71b.tar.zst
gsoc2013-evolution-df85cb1b7a47f713cb775f648f735e642a1bb71b.zip
EMailSession: Add "activity-added" signal.
EMailBackend catches these signals and forwards the EActivity to e_shell_backend_add_activity().
Diffstat (limited to 'mail/e-mail-session.h')
-rw-r--r--mail/e-mail-session.h6
1 files changed, 6 insertions, 0 deletions
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 <camel/camel.h>
+#include <e-util/e-activity.h>
#include <mail/e-mail-enums.h>
#include <mail/e-mail-account-store.h>
#include <mail/mail-folder-cache.h>
@@ -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);