1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
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/.
8 * This Original Code has been modified by IBM Corporation.
9 * Modifications made by IBM described herein are
10 * Copyright (c) International Business Machines
13 * Modifications to Mozilla code or documentation
14 * identified per MPL Section 3.3
16 * Date Modified by Description of modification
17 * 03/27/2000 IBM Corp. Added PR_CALLBACK for Optlink
21 #include "nsIDOMScriptObjectFactory.h"
22 #include "nsIObserver.h"
23 #include "mozilla/Attributes.h"
25 class nsDOMScriptObjectFactory MOZ_FINAL
: public nsIDOMScriptObjectFactory
,
28 ~nsDOMScriptObjectFactory() {}
31 nsDOMScriptObjectFactory();
38 // nsIDOMScriptObjectFactory
39 NS_IMETHOD_(nsISupports
*) GetClassInfoInstance(nsDOMClassInfoID aID
) MOZ_OVERRIDE
;
40 NS_IMETHOD_(nsISupports
*) GetExternalClassInfoInstance(const nsAString
& aName
) MOZ_OVERRIDE
;
42 NS_IMETHOD
RegisterDOMClassInfo(const char *aName
,
43 nsDOMClassInfoExternalConstructorFnc aConstructorFptr
,
44 const nsIID
*aProtoChainInterface
,
45 const nsIID
**aInterfaces
,
46 uint32_t aScriptableFlags
,
47 bool aHasClassInterface
,
48 const nsCID
*aConstructorCID
) MOZ_OVERRIDE
;