From 0eef4618ca677cd11d54ce0ae8804b5b1ededf3b Mon Sep 17 00:00:00 2001 From: Jonathon Jongsma Date: Fri, 11 Dec 2009 11:51:55 -0600 Subject: Remove mail-config, vfolder, and filter deps from mail-folder-cache Instead of pushing the updates to the right places, the folder cache simply emits the appropriate signals and other objects are responsible for listening and handling them appropriately. This allows us to cut down the dependencies of MailFolderCache significantly, which is a huge step towards allowing us to split it off for the backend. Another nice thing about this is that it allows us to trim a lot of 'public' api from the filter, vfolder, and config classes that were only used by the cache. Now that stuff can all be internal since they're pulling changes rather than having the changes pushed. The last remaining problematic dependency in MailFolderCache is EmFolderTreeModel. That is next on the chopping block. https://bugzilla.gnome.org/show_bug.cgi?id=604627 --- mail/mail-vfolder.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'mail/mail-vfolder.h') diff --git a/mail/mail-vfolder.h b/mail/mail-vfolder.h index 8e44ec44d5..a70cdd8757 100644 --- a/mail/mail-vfolder.h +++ b/mail/mail-vfolder.h @@ -44,15 +44,6 @@ void vfolder_gui_add_from_address (CamelInternetAddress *addr, gint flags, const GList * mail_vfolder_get_sources_local (void); GList * mail_vfolder_get_sources_remote (void); -void mail_vfolder_notify_uri_available(CamelStore *store, const gchar *uri); -void mail_vfolder_notify_uri_unavailable(CamelStore *store, const gchar *uri); - -/* note that a folder has changed name (uri) */ -void mail_vfolder_rename_uri(CamelStore *store, const gchar *from, const gchar *to); - -/* remove a uri that should be removed from vfolders permanently */ -void mail_vfolder_delete_uri(CamelStore *store, const gchar *uri); - /* close up, clean up */ void mail_vfolder_shutdown (void); -- cgit v1.2.3