diff options
author | Not Zed <NotZed@Ximian.com> | 2005-05-20 21:13:27 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-05-20 21:13:27 +0800 |
commit | 2e54fcc363382dcccf441c6d377366f83f752ba6 (patch) | |
tree | 9fd777eb94cfe2e8f4e8dc3c4c6699001e47bb0a | |
parent | ca5c50ddfeda1a3a8aaaaa7e1a42ab4c34200283 (diff) | |
download | gsoc2013-evolution-2e54fcc363382dcccf441c6d377366f83f752ba6.tar gsoc2013-evolution-2e54fcc363382dcccf441c6d377366f83f752ba6.tar.gz gsoc2013-evolution-2e54fcc363382dcccf441c6d377366f83f752ba6.tar.bz2 gsoc2013-evolution-2e54fcc363382dcccf441c6d377366f83f752ba6.tar.lz gsoc2013-evolution-2e54fcc363382dcccf441c6d377366f83f752ba6.tar.xz gsoc2013-evolution-2e54fcc363382dcccf441c6d377366f83f752ba6.tar.zst gsoc2013-evolution-2e54fcc363382dcccf441c6d377366f83f752ba6.zip |
add helper for plugins to get mail session.
2005-05-20 Not Zed <NotZed@Ximian.com>
* mail-component.c (mail_component_peek_session): add helper for
plugins to get mail session.
svn path=/trunk/; revision=29396
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-component.c | 7 | ||||
-rw-r--r-- | mail/mail-component.h | 2 |
3 files changed, 14 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 949d02cff8..713ff672da 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2005-05-20 Not Zed <NotZed@Ximian.com> + + * mail-component.c (mail_component_peek_session): add helper for + plugins to get mail session. + 2005-05-19 Chenthill Palanisamy <pchenthill@novell.com> * mail.error.xml: Added a error message required for diff --git a/mail/mail-component.c b/mail/mail-component.c index 6679c08bb6..a1945d4e9c 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -950,6 +950,13 @@ mail_component_peek_activity_handler (MailComponent *component) return component->priv->activity_handler; } +struct _CamelSession *mail_component_peek_session(MailComponent *component) +{ + MAIL_COMPONENT_DEFAULT(component); + + return session; +} + void mail_component_add_store (MailComponent *component, CamelStore *store, const char *name) { diff --git a/mail/mail-component.h b/mail/mail-component.h index 806b53263e..baaf2ea2fd 100644 --- a/mail/mail-component.h +++ b/mail/mail-component.h @@ -71,6 +71,8 @@ const char *mail_component_peek_base_directory (MailComponent *componen struct _RuleContext *mail_component_peek_search_context (MailComponent *component); struct _EActivityHandler *mail_component_peek_activity_handler (MailComponent *component); +struct _CamelSession *mail_component_peek_session(MailComponent *); + void mail_component_add_store (MailComponent *component, struct _CamelStore *store, const char *name); |