gecko-dev/intl/locale/components.conf

27 строки
1.0 KiB
Python

# -*- 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 = [
{
'js_name': 'locale',
'cid': '{92735ff4-6384-4ad6-8508-757010e149ee}',
'contract_ids': ['@mozilla.org/intl/localeservice;1'],
'interfaces': ['mozILocaleService'],
'singleton': True,
'type': 'mozilla::intl::LocaleService',
'headers': ['mozilla/intl/LocaleService.h'],
'constructor': 'mozilla::intl::LocaleService::GetInstanceAddRefed',
},
{
'cid': '{65944815-e9ae-48bd-a2bf-f1108720950c}',
'contract_ids': ['@mozilla.org/intl/ospreferences;1'],
'singleton': True,
'type': 'mozilla::intl::OSPreferences',
'headers': ['mozilla/intl/OSPreferences.h'],
'constructor': 'mozilla::intl::OSPreferences::GetInstanceAddRefed',
},
]