aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-migrate.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-11-06 06:07:31 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-11-06 06:07:31 +0800
commit20a1f88f75f89e2f041bf700b8d8efca08bcfc32 (patch)
tree281fb7b85ae06a0f8e45c0f53f70c9f6fb5d69ab /mail/em-migrate.h
parent189d7b0fc6f3fe05e69ce67c9239bab0bff4ec63 (diff)
downloadgsoc2013-evolution-20a1f88f75f89e2f041bf700b8d8efca08bcfc32.tar.gz
gsoc2013-evolution-20a1f88f75f89e2f041bf700b8d8efca08bcfc32.tar.zst
gsoc2013-evolution-20a1f88f75f89e2f041bf700b8d8efca08bcfc32.zip
New source files to migrate from the old mail directory to the new mail
2003-11-05 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail/em-migrate.h')
-rw-r--r--mail/em-migrate.h40
1 files changed, 40 insertions, 0 deletions
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 <fejj@ximian.com>
+ *
+ * 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 <camel/camel-exception.h>
+
+#ifdef __cplusplus
+extern "C" {
+#pragma }
+#endif /* __cplusplus */
+
+int em_migrate (struct _MailComponent *component, CamelException *ex);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __EM_MIGRATE_H__ */