From dbc4e091133eee525a8b7c0fd449dcca6a5c719f Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 6 Nov 2000 22:03:24 +0000 Subject: First draft of folder tree unread message indication for /local mail folders. * mail-local.c: Add a new CamelStore subclass, MailLocalStore, which attaches to an Evolution_LocalStorage on one side and CamelSession on the other, and keeps track of local folders. Some of this code was previously in mail-local-storage.c, which no longer exists. (local_reconfigure_folder, etc): Various mail_op-related cleanups, and wrap d() around a bunch of printfs. * mail-tools.c (mail_tool_get_local_inbox_url, mail_tool_get_local_movemail_url): Removed (mail_tool_get_local_inbox): Simplified. (mail_tool_do_movemail): Remove unused dest_url variable. (mail_tool_uri_to_folder): Simplify. Now down to two cases (vfolder, and everything else). * component-factory.c (owner_set_cb): Pass evolution_dir to mail_local_storage_startup. * Makefile.am (evolution_mail_SOURCES): Remove mail-local-storage.[ch] svn path=/trunk/; revision=6456 --- mail/mail-local.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'mail/mail-local.h') diff --git a/mail/mail-local.h b/mail/mail-local.h index 7c0b619de4..254fcbe4f6 100644 --- a/mail/mail-local.h +++ b/mail/mail-local.h @@ -2,8 +2,9 @@ /* mail-local.h: Local mailbox support. */ /* - * Author: + * Authors: * Michael Zucchi + * Dan Winship * * Copyright 2000 Helix Code, Inc. (http://www.helixcode.com) * @@ -26,12 +27,12 @@ #ifndef _MAIL_LOCAL_H #define _MAIL_LOCAL_H -#include "camel/camel-folder.h" +#include "evolution-shell-client.h" #include "folder-browser.h" -/* mail-local.c */ -CamelFolder *mail_tool_local_uri_to_folder(const char *uri, CamelException *ex); -void local_reconfigure_folder(FolderBrowser *fb); -char *mail_local_map_uri(const char *uri, int *index); +void mail_local_storage_startup (EvolutionShellClient *shellclient, + const char *evolution_path); + +void mail_local_reconfigure_folder (FolderBrowser *fb); #endif -- cgit v1.2.3