summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/import/src/components.conf
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mailnews/import/src/components.conf')
-rw-r--r--comm/mailnews/import/src/components.conf104
1 files changed, 104 insertions, 0 deletions
diff --git a/comm/mailnews/import/src/components.conf b/comm/mailnews/import/src/components.conf
new file mode 100644
index 0000000000..e8891fca57
--- /dev/null
+++ b/comm/mailnews/import/src/components.conf
@@ -0,0 +1,104 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+Classes = [
+ {
+ "cid": "{991f078e-a6d5-44f2-b91e-c52efcfa3360}",
+ "contract_ids": ["@mozilla.org/import/import-seamonkey;1"],
+ "jsm": "resource:///modules/SeamonkeyImport.jsm",
+ "constructor": "SeamonkeyImport",
+ "categories": {"mailnewsimport": "seamonkey"},
+ },
+ {
+ "cid": "{c6988841-d916-44a3-bb4d-f0838a98e95a}",
+ "contract_ids": ["@mozilla.org/import/import-thunderbird;1"],
+ "jsm": "resource:///modules/ThunderbirdImport.jsm",
+ "constructor": "ThunderbirdImport",
+ "categories": {"mailnewsimport": "thunderbird"},
+ },
+ {
+ "cid": "{a6629718-9a97-4073-ab48-442fcceaea5d}",
+ "contract_ids": ["@mozilla.org/import/import-ab-file;1?type=mab"],
+ "type": "nsImportABFromMab",
+ "headers": ["/comm/mailnews/import/src/MorkImport.h"],
+ },
+ {
+ "cid": "{5df96d60-1726-11d3-a206-00a0cc26da63}",
+ "contract_ids": ["@mozilla.org/import/import-service;1"],
+ "type": "nsImportService",
+ "headers": ["/comm/mailnews/import/src/nsImportService.h"],
+ "name": "Import",
+ "interfaces": ["nsIImportService"],
+ },
+ {
+ "cid": "{a5991d01-ada7-11d3-a9c2-00a0cc26da63}",
+ "contract_ids": ["@mozilla.org/import/import-text;1"],
+ "type": "nsTextImport",
+ "headers": ["/comm/mailnews/import/src/nsTextImport.h"],
+ "categories": {"mailnewsimport": "text"},
+ },
+ {
+ "cid": "{0eb034a3-964a-4e2f-92ebcc55d9ae9dd2}",
+ "contract_ids": ["@mozilla.org/import/import-vcard;1"],
+ "type": "nsVCardImport",
+ "headers": ["/comm/mailnews/import/src/nsVCardImport.h"],
+ "categories": {"mailnewsimport": "vcard"},
+ },
+ {
+ "cid": "{54d48d9f-1bac-47be-9190-c4dc74e837e2}",
+ "contract_ids": ["@mozilla.org/import/import-mork;1"],
+ "type": "MorkImport",
+ "headers": ["/comm/mailnews/import/src/MorkImport.h"],
+ "categories": {"mailnewsimport": "mork"},
+ },
+]
+
+if buildconfig.substs["OS_ARCH"] == "Darwin":
+ Classes += [
+ {
+ "cid": "{6d3f101c-70ec-4e04-b68d-9908d1aeddf3}",
+ "contract_ids": ["@mozilla.org/import/import-applemail;1"],
+ "type": "nsAppleMailImportModule",
+ "headers": ["/comm/mailnews/import/src/nsAppleMailImport.h"],
+ "categories": {"mailnewsimport": "applemail"},
+ },
+ {
+ "cid": "{9117a1ea-e012-43b5-a020-cb8a66cc09e1}",
+ "contract_ids": ["@mozilla.org/import/import-appleMailImpl;1"],
+ "type": "nsAppleMailImportMail",
+ "init_method": "Initialize",
+ "headers": ["/comm/mailnews/import/src/nsAppleMailImport.h"],
+ },
+ ]
+
+if buildconfig.substs["OS_ARCH"] == "WINNT":
+ Classes += [
+ {
+ "cid": "{42bc82bc-8e9f-4597-8b6e-e529daaf3af1}",
+ "contract_ids": ["@mozilla.org/import/import-wm;1"],
+ "type": "nsWMImport",
+ "headers": ["/comm/mailnews/import/src/nsWMImport.h"],
+ "categories": {"mailnewsimport": "winlivemail"},
+ },
+ {
+ "cid": "{7952a6cf-2442-4c04-9f02-150b15a0a841}",
+ "contract_ids": ["@mozilla.org/import/import-becky;1"],
+ "type": "nsBeckyImport",
+ "headers": ["/comm/mailnews/import/src/nsBeckyImport.h"],
+ "categories": {"mailnewsimport": "becky"},
+ },
+ ]
+
+ if buildconfig.substs["MOZ_MAPI_SUPPORT"]:
+ Classes += [
+ {
+ "cid": "{1db469a0-8b00-11d3-a206-00a0cc26da63}",
+ "contract_ids": ["@mozilla.org/import/import-outlook;1"],
+ "type": "nsOutlookImport",
+ "headers": ["/comm/mailnews/import/src/nsOutlookImport.h"],
+ "categories": {"mailnewsimport": "outlook"},
+ },
+ ]