summaryrefslogtreecommitdiffstats
path: root/modules/libjar/components.conf
blob: 7005454d9db121b2e26f3c9f21c0ff7f73095be1 (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
39
40
41
42
43
44
45
46
47
48
# -*- 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': '{88e2fd0b-f7f4-480c-9483-7846b00e8dad}',
        'contract_ids': ['@mozilla.org/libjar/zip-reader;1'],
        'type': 'nsJAR',
        'headers': ['/modules/libjar/nsJAR.h'],
    },
    {
        'cid': '{c7e410d4-85f2-11d3-9f63-006008a6efe9}',
        'contract_ids': ['@mozilla.org/network/protocol;1?name=jar'],
        'singleton': True,
        'type': 'nsJARProtocolHandler',
        'headers': ['/modules/libjar/nsJARProtocolHandler.h'],
        'constructor': 'nsJARProtocolHandler::GetSingleton',
        'protocol_config': {
            'scheme': 'jar',
            'flags': [
                'URI_NORELATIVE',
                'URI_NOAUTH',
                # URI_LOADABLE_BY_ANYONE, since it's our inner URI that will
                # matter anyway.
                'URI_LOADABLE_BY_ANYONE',
            ],
        },
    },
    {
        'cid': '{245abae2-b947-4ded-a46d-9829d3cca462}',
        'type': 'nsJARURI::Mutator',
        'headers': ['nsJARURI.h'],
    },
    {
        'cid': '{19d9161b-a2a9-4518-b2c9-fcb8296d6dcd}',
        'type': 'nsJARURI::Mutator',
        'headers': ['nsJARURI.h'],
    },
    {
        'cid': '{608b7f6f-4b60-40d6-87ed-d933bf53d8c1}',
        'contract_ids': ['@mozilla.org/libjar/zip-reader-cache;1'],
        'type': 'nsZipReaderCache',
        'headers': ['/modules/libjar/nsJAR.h'],
    },
]