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
This commit is contained in:
Not Zed
2005-05-20 13:13:27 +00:00
committed by Michael Zucci
parent ca5c50ddfe
commit 2e54fcc363
3 changed files with 14 additions and 0 deletions

View File

@ -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

View File

@ -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)
{

View File

@ -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);