aboutsummaryrefslogtreecommitdiffstats
path: root/mail/importers/mozilla-status-headers.h
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2002-01-09 00:42:55 +0800
committerIain Holmes <iain@src.gnome.org>2002-01-09 00:42:55 +0800
commita4db79a6d67be58e2922bc101e9db92b5a24d6cf (patch)
tree342f8a1d2af61b5deb4d60647e07f4d73661676a /mail/importers/mozilla-status-headers.h
parentd39b2d01d985e2e86857f1d632c8b821bdacb939 (diff)
downloadgsoc2013-evolution-a4db79a6d67be58e2922bc101e9db92b5a24d6cf.tar.gz
gsoc2013-evolution-a4db79a6d67be58e2922bc101e9db92b5a24d6cf.tar.zst
gsoc2013-evolution-a4db79a6d67be58e2922bc101e9db92b5a24d6cf.zip
Make the mbox importer check for Mozilla status headers and act on them.
svn path=/trunk/; revision=15265
Diffstat (limited to 'mail/importers/mozilla-status-headers.h')
-rw-r--r--mail/importers/mozilla-status-headers.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/importers/mozilla-status-headers.h b/mail/importers/mozilla-status-headers.h
new file mode 100644
index 0000000000..f459d6ec8f
--- /dev/null
+++ b/mail/importers/mozilla-status-headers.h
@@ -0,0 +1,29 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/* mozilla-status-headers.h
+ *
+ * Authors: Iain Holmes <iain@ximian.com>
+ *
+ * Copyright (C) 2001 Ximian, Inc.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License as published by the Free Software Foundation.
+ *
+ * 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 Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+/* Defines copied from nsMsgMessageFlags.h in Mozilla source. */
+
+/* Evolution only cares about these headers I think */
+#define MSG_FLAG_READ 0x0001
+#define MSG_FLAG_REPLIED 0x0002
+#define MSG_FLAG_MARKED 0x0004
+#define MSG_FLAG_EXPUNGED 0x0008