diff options
author | Not Zed <NotZed@Ximian.com> | 2004-02-11 16:26:58 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-02-11 16:26:58 +0800 |
commit | 06b08adb257351bf8080d960fb98b4265cc43081 (patch) | |
tree | 9f429f497d47c5b933d2c4c98a1058566233a7dc /mail/mail-component.h | |
parent | 136b8ea938580f3c1d4fb9f92093c4631ec6038b (diff) | |
download | gsoc2013-evolution-06b08adb257351bf8080d960fb98b4265cc43081.tar.gz gsoc2013-evolution-06b08adb257351bf8080d960fb98b4265cc43081.tar.zst gsoc2013-evolution-06b08adb257351bf8080d960fb98b4265cc43081.zip |
Basically rewrote this, the import tasks run in another thread. It tells
2004-02-11 Not Zed <NotZed@Ximian.com>
* importers/pine-importer.c: Basically rewrote this, the import
tasks run in another thread. It tells you more about what's going
on, and its cancellable.
(pine_store_settings): changed the meaning of the settings
slightly, if set it means we've processed them already.
* mail-component-factory.c (factory): hook in importer factory
callback.
2004-02-10 Not Zed <NotZed@Ximian.com>
* importers/*-importer.c: removed module init, just provide a new
method. Updates for api changes.
* Makefile.am: link mail importers in directly.
* mail-importer.c: changed to do stuff in-memory with linked
stuff, moved to importers/.
* importers/GNOME_Evolution_Mail_Importers.server.in.in: merge all
importer .server info's here, point them all to the mailer
factory. Removed the others.
* importers/Makefile.am: remove Mailer.idl stuff. Move all
importers to a single library.
svn path=/trunk/; revision=24701
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); |