1# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2# vim: set filetype=python: 3# This Source Code Form is subject to the terms of the Mozilla Public 4# License, v. 2.0. If a copy of the MPL was not distributed with this 5# file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7Classes = [ 8 { 9 'js_name': 'locale', 10 'cid': '{92735ff4-6384-4ad6-8508-757010e149ee}', 11 'contract_ids': ['@mozilla.org/intl/localeservice;1'], 12 'interfaces': ['mozILocaleService'], 13 'singleton': True, 14 'type': 'mozilla::intl::LocaleService', 15 'headers': ['mozilla/intl/LocaleService.h'], 16 'constructor': 'mozilla::intl::LocaleService::GetInstanceAddRefed', 17 }, 18 { 19 'cid': '{65944815-e9ae-48bd-a2bf-f1108720950c}', 20 'contract_ids': ['@mozilla.org/intl/ospreferences;1'], 21 'singleton': True, 22 'type': 'mozilla::intl::OSPreferences', 23 'headers': ['mozilla/intl/OSPreferences.h'], 24 'constructor': 'mozilla::intl::OSPreferences::GetInstanceAddRefed', 25 }, 26] 27