summaryrefslogtreecommitdiffstats
path: root/intl/locale/components.conf
diff options
context:
space:
mode:
Diffstat (limited to 'intl/locale/components.conf')
-rw-r--r--intl/locale/components.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/intl/locale/components.conf b/intl/locale/components.conf
new file mode 100644
index 0000000000..2be9966043
--- /dev/null
+++ b/intl/locale/components.conf
@@ -0,0 +1,27 @@
+# -*- 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 = [
+ {
+ 'name': 'Locale',
+ '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',
+ },
+]