summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/migration/src/components.conf
blob: 85b754c64564dc494bcd5311d4a4ccf102a02da7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- 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": "{adb2e3a7-8df4-484a-b787-6c2184eb9756}",
        "contract_ids": ["@mozilla.org/profile/migrator;1?app=mail&type=thunderbird"],
        "jsm": "resource:///modules/ThunderbirdProfileMigrator.jsm",
        "constructor": "ThunderbirdProfileMigrator",
    },
    {
        "cid": "{b3c78baf-3a52-41d2-9718-c319bef9affc}",
        "contract_ids": ["@mozilla.org/toolkit/profile-migrator;1"],
        "type": "nsProfileMigrator",
        "headers": ["/comm/mail/components/migration/src/nsProfileMigrator.h"],
    },
    {
        "cid": "{62c6e1f9-3dc3-4b68-9c39-ad2f6d471ac0}",
        "contract_ids": ["@mozilla.org/profile/migrator;1?app=mail&type=seamonkey"],
        "type": "nsSeamonkeyProfileMigrator",
        "headers": ["/comm/mail/components/migration/src/nsSeamonkeyProfileMigrator.h"],
    },
]

if buildconfig.substs["OS_ARCH"] == "WINNT":
    Classes += [
        {
            "cid": "{910b6453-0719-41e8-a4c9-0319bb34c8ff}",
            "contract_ids": ["@mozilla.org/profile/migrator;1?app=mail&type=outlook"],
            "type": "nsOutlookProfileMigrator",
            "headers": [
                "/comm/mail/components/migration/src/nsOutlookProfileMigrator.h"
            ],
        },
    ]