diff --git a/mozilla/dom/public/MANIFEST b/mozilla/dom/public/MANIFEST index 200b7f20bb7..91567505e7a 100644 --- a/mozilla/dom/public/MANIFEST +++ b/mozilla/dom/public/MANIFEST @@ -31,7 +31,6 @@ nsIDOMScriptObjectFactory.h nsDOMCID.h nsDOMPropEnums.h nsDOMPropNames.h -nsIScriptNameSetRegistry.h nsIScriptExternalNameSet.h nsIScriptNameSpaceManager.h nsDOMError.h diff --git a/mozilla/dom/public/Makefile.in b/mozilla/dom/public/Makefile.in index 2049a518b57..fbd31e9bdc3 100644 --- a/mozilla/dom/public/Makefile.in +++ b/mozilla/dom/public/Makefile.in @@ -46,7 +46,6 @@ EXPORTS=nsIScriptContext.h \ nsDOMCID.h \ nsDOMPropEnums.h \ nsDOMPropNames.h \ - nsIScriptNameSetRegistry.h \ nsIScriptExternalNameSet.h \ nsIScriptNameSpaceManager.h \ nsDOMError.h \ diff --git a/mozilla/dom/public/makefile.win b/mozilla/dom/public/makefile.win index 064e3891bbb..48e18e0894b 100644 --- a/mozilla/dom/public/makefile.win +++ b/mozilla/dom/public/makefile.win @@ -44,7 +44,6 @@ EXPORTS=nsIScriptContext.h \ nsDOMCID.h \ nsDOMPropEnums.h \ nsDOMPropNames.h \ - nsIScriptNameSetRegistry.h \ nsIScriptExternalNameSet.h \ nsIScriptNameSpaceManager.h \ nsDOMError.h \ diff --git a/mozilla/dom/public/nsIScriptNameSetRegistry.h b/mozilla/dom/public/nsIScriptNameSetRegistry.h deleted file mode 100644 index 9de37fad46b..00000000000 --- a/mozilla/dom/public/nsIScriptNameSetRegistry.h +++ /dev/null @@ -1,56 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- - * - * The contents of this file are subject to the Netscape Public - * License Version 1.1 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.mozilla.org/NPL/ - * - * Software distributed under the License is distributed on an "AS - * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or - * implied. See the License for the specific language governing - * rights and limitations under the License. - * - * The Original Code is Mozilla Communicator client code. - * - * The Initial Developer of the Original Code is Netscape Communications - * Corporation. Portions created by Netscape are - * Copyright (C) 1998 Netscape Communications Corporation. All - * Rights Reserved. - * - * Contributor(s): - */ - -#ifndef nsIScriptNameSetRegistry_h__ -#define nsIScriptNameSetRegistry_h__ - -#include "nscore.h" -#include "nsString.h" -#include "nsISupports.h" - -#define NS_ISCRIPTNAMESETREGISTRY_IID \ - {0xa6cf90d9, 0x15b3, 0x11d2, \ - {0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32}} - -class nsIScriptContext; -class nsIScriptExternalNameSet; - -/** - * Interface used to add and remove name sets. These name sets - * are asked to register themselves with a namespace registry - * for every new script context. - */ -class nsIScriptNameSetRegistry : public nsISupports { -public: - NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISCRIPTNAMESETREGISTRY_IID); - - /** - * Intialize classes associated with the name sets. - * - * @param aScriptContext the script context within which to initialize - * @result NS_OK if successful - */ - NS_IMETHOD ResolveName(const nsAReadableString& aName, - nsIScriptContext* aContext) = 0; -}; - -#endif /* nsIScriptNameSetRegistry_h__ */