From 0736bdc6f4bbdc7437bdf831493ba1e8fb5e7a5e Mon Sep 17 00:00:00 2001 From: "cltbld%netscape.com" Date: Thu, 31 Aug 2000 09:30:17 +0000 Subject: [PATCH] Forward declaration of eHTMLTags is not needed if including nsHTMLTokens.h. Should help fix speedracer bustage. -cls --- htmlparser/src/nsIDTDDebug.h | 62 ----------------------------- parser/htmlparser/src/nsIDTDDebug.h | 62 ----------------------------- 2 files changed, 124 deletions(-) diff --git a/htmlparser/src/nsIDTDDebug.h b/htmlparser/src/nsIDTDDebug.h index 34b33a217f3..e69de29bb2d 100644 --- a/htmlparser/src/nsIDTDDebug.h +++ b/htmlparser/src/nsIDTDDebug.h @@ -1,62 +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.org 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): - */ - -/** - * MODULE NOTES: - * @update gess 4/8/98 - * - * - */ - -#ifndef NS_IDTDDEBUG__ -#define NS_IDTDDEBUG__ - -#include "nsISupports.h" -#include "nsHTMLTokens.h" -#include "prtypes.h" - -#define NS_IDTDDEBUG_IID \ - {0x7b68c220, 0x0685, 0x11d2, \ - {0xa4, 0xb5, 0x00, 0x80, 0x5f, 0x2a, 0x0e, 0xd2}} - - -class nsIDTD; -class nsIParser; -class nsVoidArray; - -class nsIDTDDebug : public nsISupports { - -public: - - virtual void SetVerificationDirectory(char * verify_dir) = 0; - - virtual void SetRecordStatistics(PRBool bval) = 0; - - virtual PRBool Verify(nsIDTD * aDTD, nsIParser * aParser, int ContextStackPos, eHTMLTags aContextStack[], nsString& aURLRef) = 0; - - virtual void DumpVectorRecord(void) = 0; - -}; - -extern NS_EXPORT nsresult NS_NewDTDDebug(nsIDTDDebug** aInstancePtrResult); - -#endif /* NS_IDTDDEBUG__ */ diff --git a/parser/htmlparser/src/nsIDTDDebug.h b/parser/htmlparser/src/nsIDTDDebug.h index 34b33a217f3..e69de29bb2d 100644 --- a/parser/htmlparser/src/nsIDTDDebug.h +++ b/parser/htmlparser/src/nsIDTDDebug.h @@ -1,62 +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.org 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): - */ - -/** - * MODULE NOTES: - * @update gess 4/8/98 - * - * - */ - -#ifndef NS_IDTDDEBUG__ -#define NS_IDTDDEBUG__ - -#include "nsISupports.h" -#include "nsHTMLTokens.h" -#include "prtypes.h" - -#define NS_IDTDDEBUG_IID \ - {0x7b68c220, 0x0685, 0x11d2, \ - {0xa4, 0xb5, 0x00, 0x80, 0x5f, 0x2a, 0x0e, 0xd2}} - - -class nsIDTD; -class nsIParser; -class nsVoidArray; - -class nsIDTDDebug : public nsISupports { - -public: - - virtual void SetVerificationDirectory(char * verify_dir) = 0; - - virtual void SetRecordStatistics(PRBool bval) = 0; - - virtual PRBool Verify(nsIDTD * aDTD, nsIParser * aParser, int ContextStackPos, eHTMLTags aContextStack[], nsString& aURLRef) = 0; - - virtual void DumpVectorRecord(void) = 0; - -}; - -extern NS_EXPORT nsresult NS_NewDTDDebug(nsIDTDDebug** aInstancePtrResult); - -#endif /* NS_IDTDDEBUG__ */