diff options
Diffstat (limited to 'mail/mail-component.h')
-rw-r--r-- | mail/mail-component.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/mail/mail-component.h b/mail/mail-component.h index 5f32dd110b..0cd9229232 100644 --- a/mail/mail-component.h +++ b/mail/mail-component.h @@ -26,13 +26,11 @@ #ifndef _MAIL_COMPONENT_H_ #define _MAIL_COMPONENT_H_ -#include <camel/camel-store.h> -#include <filter/rule-context.h> #include <bonobo/bonobo-object.h> -#include "e-activity-handler.h" +#include "shell/Evolution.h" -#include "Evolution.h" +struct _CamelStore; #define MAIL_TYPE_COMPONENT (mail_component_get_type ()) #define MAIL_COMPONENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAIL_TYPE_COMPONENT, MailComponent)) @@ -72,18 +70,18 @@ MailComponent *mail_component_peek (void); /* NOTE: Using NULL as the component implies using the default component */ const char *mail_component_peek_base_directory (MailComponent *component); -RuleContext *mail_component_peek_search_context (MailComponent *component); -EActivityHandler *mail_component_peek_activity_handler (MailComponent *component); +struct _RuleContext *mail_component_peek_search_context (MailComponent *component); +struct _EActivityHandler *mail_component_peek_activity_handler (MailComponent *component); void mail_component_add_store (MailComponent *component, - CamelStore *store, + struct _CamelStore *store, const char *name); -CamelStore *mail_component_load_store_by_uri (MailComponent *component, +struct _CamelStore *mail_component_load_store_by_uri (MailComponent *component, const char *uri, const char *name); void mail_component_remove_store (MailComponent *component, - CamelStore *store); + struct _CamelStore *store); void mail_component_remove_store_by_uri (MailComponent *component, const char *uri); @@ -92,7 +90,7 @@ void mail_component_stores_foreach (MailComponent *component, GHFunc func, void *data); -void mail_component_remove_folder (MailComponent *component, CamelStore *store, const char *path); +void mail_component_remove_folder (MailComponent *component, struct _CamelStore *store, const char *path); struct _EMFolderTreeModel *mail_component_peek_tree_model (MailComponent *component); |