1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/base/nsDOMCID.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#ifndef nsDOMCID_h__ 1.10 +#define nsDOMCID_h__ 1.11 + 1.12 +#include "nsISupports.h" 1.13 +#include "nsIFactory.h" 1.14 +#include "nsIComponentManager.h" 1.15 + 1.16 +#define NS_DOM_SCRIPT_OBJECT_FACTORY_CID \ 1.17 + { /* 9eb760f0-4380-11d2-b328-00805f8a3859 */ \ 1.18 + 0x9eb760f0, 0x4380, 0x11d2, \ 1.19 + {0xb3, 0x28, 0x00, 0x80, 0x5f, 0x8a, 0x38, 0x59} } 1.20 + 1.21 +#define NS_SCRIPT_NAMESET_REGISTRY_CID \ 1.22 + { /* 45f27d10-987b-11d2-bd40-00105aa45e89 */ \ 1.23 + 0x45f27d10, 0x987b, 0x11d2, \ 1.24 + {0xbd, 0x40, 0x00, 0x10, 0x5a, 0xa4, 0x5e, 0x89} } 1.25 + 1.26 +//The dom cannot provide the crypto or pkcs11 classes that 1.27 +//were used in older days, so if someone wants to provide 1.28 +//the service they must implement an object and give it 1.29 +//this class ID 1.30 +#define NS_CRYPTO_CONTRACTID "@mozilla.org/security/crypto;1" 1.31 +#define NS_PKCS11_CONTRACTID "@mozilla.org/security/pkcs11;1" 1.32 + 1.33 +#define NS_XPATH_EVALUATOR_CONTRACTID "@mozilla.org/dom/xpath-evaluator;1" 1.34 + 1.35 +#endif /* nsDOMCID_h__ */