2019-01-25 02:32:56 +03:00
|
|
|
# -*- 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/.
|
|
|
|
|
2019-04-09 21:58:49 +03:00
|
|
|
if defined('MOZ_CRASHREPORTER'):
|
|
|
|
crash_reporter = ['@mozilla.org/toolkit/crash-reporter;1']
|
|
|
|
else:
|
|
|
|
crash_reporter = []
|
|
|
|
|
2019-01-25 02:32:56 +03:00
|
|
|
Classes = [
|
|
|
|
{
|
2022-09-13 16:47:13 +03:00
|
|
|
'name': 'XULRuntime',
|
2020-07-10 00:42:25 +03:00
|
|
|
'js_name': 'appinfo',
|
2019-01-25 02:32:56 +03:00
|
|
|
'cid': '{95d89e3e-a169-41a3-8e56-719978e15b12}',
|
|
|
|
'contract_ids': [
|
|
|
|
'@mozilla.org/xre/app-info;1',
|
|
|
|
'@mozilla.org/xre/runtime;1',
|
2019-04-09 21:58:49 +03:00
|
|
|
] + crash_reporter,
|
2022-10-18 21:22:24 +03:00
|
|
|
'interfaces': ['nsIXULRuntime', 'nsIXULAppInfo', 'nsICrashReporter'],
|
2019-01-25 02:32:56 +03:00
|
|
|
'legacy_constructor': 'mozilla::AppInfoConstructor',
|
|
|
|
'headers': ['nsAppRunner.h'],
|
2019-12-03 16:45:19 +03:00
|
|
|
'processes': ProcessSelector.ALLOW_IN_SOCKET_PROCESS,
|
2020-07-10 00:42:25 +03:00
|
|
|
'overridable': True,
|
2019-01-25 02:32:56 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{471f4944-1dd2-11b2-87ac-90be0a51d609}',
|
|
|
|
'contract_ids': ['@mozilla.org/embedcomp/rangefind;1'],
|
|
|
|
'type': 'nsFind',
|
|
|
|
'headers': ['/toolkit/components/find/nsFind.h'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{7e677795-c582-4cd1-9e8d-8271b3474d2a}',
|
|
|
|
'contract_ids': ['@mozilla.org/embedding/browser/nsWebBrowserPersist;1'],
|
|
|
|
'type': 'nsWebBrowserPersist',
|
|
|
|
'headers': ['/dom/webbrowserpersist/nsWebBrowserPersist.h'],
|
|
|
|
},
|
|
|
|
{
|
2020-07-10 00:42:25 +03:00
|
|
|
'js_name': 'ww',
|
2019-01-25 02:32:56 +03:00
|
|
|
'cid': '{a21bfa01-f349-4394-a84c-8de5cf0737d0}',
|
|
|
|
'contract_ids': ['@mozilla.org/embedcomp/window-watcher;1'],
|
2020-07-10 00:42:25 +03:00
|
|
|
'interfaces': ['nsIWindowWatcher'],
|
2019-01-25 02:32:56 +03:00
|
|
|
'type': 'nsWindowWatcher',
|
|
|
|
'headers': ['nsWindowWatcher.h'],
|
|
|
|
'init_method': 'Init',
|
2020-07-10 00:42:25 +03:00
|
|
|
'overridable': True,
|
2019-01-25 02:32:56 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'cid': '{5573967d-f6cf-4c63-8e0e-9ac06e04d62b}',
|
|
|
|
'contract_ids': ['@mozilla.org/xre/directory-provider;1'],
|
|
|
|
'singleton': True,
|
|
|
|
'type': 'nsXREDirProvider',
|
|
|
|
'constructor': 'nsXREDirProvider::GetSingleton',
|
|
|
|
'headers': ['/toolkit/xre/nsXREDirProvider.h'],
|
|
|
|
},
|
2021-12-09 00:37:11 +03:00
|
|
|
{
|
|
|
|
'cid': '{4e4aae11-8901-46cc-8217-dad7c5415873}',
|
|
|
|
'contract_ids': ['@mozilla.org/embedcomp/dialogparam;1'],
|
|
|
|
'type': 'nsDialogParamBlock',
|
|
|
|
'headers': ['/toolkit/components/windowwatcher/nsDialogParamBlock.h'],
|
|
|
|
},
|
2022-06-30 12:12:16 +03:00
|
|
|
{
|
|
|
|
'cid': '{5f5e59ce-27bc-47eb-9d1f-b09ca9049836}',
|
|
|
|
'contract_ids': ['@mozilla.org/toolkit/profile-service;1'],
|
2022-07-05 17:49:53 +03:00
|
|
|
'singleton': True,
|
|
|
|
'constructor': 'NS_GetToolkitProfileService',
|
2022-06-30 12:12:16 +03:00
|
|
|
'type': 'nsToolkitProfileService',
|
|
|
|
'headers': ['/toolkit/profile/nsToolkitProfileService.h'],
|
|
|
|
},
|
2019-01-25 02:32:56 +03:00
|
|
|
]
|