summaryrefslogtreecommitdiffstats
path: root/toolkit/components/xulstore/components.conf
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/xulstore/components.conf')
-rw-r--r--toolkit/components/xulstore/components.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/toolkit/components/xulstore/components.conf b/toolkit/components/xulstore/components.conf
new file mode 100644
index 0000000000..2916108e65
--- /dev/null
+++ b/toolkit/components/xulstore/components.conf
@@ -0,0 +1,35 @@
+# -*- 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/.
+
+if defined('MOZ_NEW_XULSTORE'):
+ Classes = [
+ {
+ 'cid': '{be70bf11-0c28-4a02-a38c-0148538d42cf}',
+ 'contract_ids': ['@mozilla.org/xul/xulstore;1'],
+ 'type': 'nsIXULStore',
+ 'headers': ['mozilla/XULStore.h'],
+ 'singleton': True,
+ 'constructor': 'mozilla::XULStore::GetService',
+ },
+ {
+ 'js_name': 'xulStore',
+ 'cid': '{e8e12dba-b942-4c0d-aa21-2843cfc64529}',
+ 'contract_ids': ['@mozilla.org/xul/js-xulstore;1'],
+ 'jsm': 'resource://gre/modules/XULStore.jsm',
+ 'constructor': 'getXULStore',
+ },
+ ]
+else:
+ Classes = [
+ {
+ 'js_name': 'xulStore',
+ 'cid': '{6f46b6f4-c8b1-4bd4-a4fa-9ebbed0753ea}',
+ 'contract_ids': ['@mozilla.org/xul/xulstore;1'],
+ 'interfaces': ['nsIXULStore'],
+ 'jsm': 'resource://gre/modules/XULStore.jsm',
+ 'constructor': 'XULStore',
+ },
+ ]