summaryrefslogtreecommitdiffstats
path: root/toolkit/components/xulstore/components.conf
blob: 2916108e65cae2e4f5cb20be1e04a3247eaba7a7 (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
# -*- 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/.

if defined('MOZ_NEW_XULSTORE'):
    Classes = [
        {
            'cid': '{be70bf11-0c28-4a02-a38c-0148538d42cf}',
            'contract_ids': ['@mozilla.org/xul/xulstore;1'],
            'type': 'nsIXULStore',
            'headers': ['mozilla/XULStore.h'],
            'singleton': True,
            'constructor': 'mozilla::XULStore::GetService',
        },
        {
            'js_name': 'xulStore',
            'cid': '{e8e12dba-b942-4c0d-aa21-2843cfc64529}',
            'contract_ids': ['@mozilla.org/xul/js-xulstore;1'],
            'jsm': 'resource://gre/modules/XULStore.jsm',
            'constructor': 'getXULStore',
        },
    ]
else:
    Classes = [
        {
            'js_name': 'xulStore',
            'cid': '{6f46b6f4-c8b1-4bd4-a4fa-9ebbed0753ea}',
            'contract_ids': ['@mozilla.org/xul/xulstore;1'],
            'interfaces': ['nsIXULStore'],
            'jsm': 'resource://gre/modules/XULStore.jsm',
            'constructor': 'XULStore',
        },
    ]