From 20a1f88f75f89e2f041bf700b8d8efca08bcfc32 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 5 Nov 2003 22:07:31 +0000 Subject: New source files to migrate from the old mail directory to the new mail 2003-11-05 Jeffrey Stedfast * em-migrate.[c,h]: New source files to migrate from the old mail directory to the new mail directory. * mail-component.c (mail_component_init): Changed to use ~/.evolution and added code to migrate the old mail folders over if ~/.evolution/mail does not yet exist. svn path=/trunk/; revision=23193 --- mail/em-migrate.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 mail/em-migrate.h (limited to 'mail/em-migrate.h') diff --git a/mail/em-migrate.h b/mail/em-migrate.h new file mode 100644 index 0000000000..b4cf51e725 --- /dev/null +++ b/mail/em-migrate.h @@ -0,0 +1,40 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Authors: Jeffrey Stedfast + * + * Copyright 2003 Ximian, Inc. (www.ximian.com) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. + * + */ + + +#ifndef __EM_MIGRATE_H__ +#define __EM_MIGRATE_H__ + +#include + +#ifdef __cplusplus +extern "C" { +#pragma } +#endif /* __cplusplus */ + +int em_migrate (struct _MailComponent *component, CamelException *ex); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __EM_MIGRATE_H__ */ -- cgit v1.2.3