From ee9eb14e72e4135bfc69f43abd9ffc1ffa56fd8d Mon Sep 17 00:00:00 2001 From: "bryner%brianryner.com" Date: Sun, 29 Aug 2004 04:18:27 +0000 Subject: [PATCH] fixing btek bustage --- layout/base/nsIPresShell.h | 9 ++++++++- layout/base/public/nsIPresShell.h | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/layout/base/nsIPresShell.h b/layout/base/nsIPresShell.h index 25b9871bbbc3..8d3e345b004c 100644 --- a/layout/base/nsIPresShell.h +++ b/layout/base/nsIPresShell.h @@ -133,10 +133,17 @@ enum nsAttributeChangeType { * presentation context, the style manager, the style set and the root * frame. */ -class nsIPresShell : public nsISupports { + +// hack to make egcs / gcc 2.95.2 happy +class nsIPresShell_base : public nsISupports +{ public: NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPRESSHELL_IID) +}; +class nsIPresShell : public nsIPresShell_base +{ +public: NS_IMETHOD Init(nsIDocument* aDocument, nsPresContext* aPresContext, nsIViewManager* aViewManager, diff --git a/layout/base/public/nsIPresShell.h b/layout/base/public/nsIPresShell.h index 25b9871bbbc3..8d3e345b004c 100644 --- a/layout/base/public/nsIPresShell.h +++ b/layout/base/public/nsIPresShell.h @@ -133,10 +133,17 @@ enum nsAttributeChangeType { * presentation context, the style manager, the style set and the root * frame. */ -class nsIPresShell : public nsISupports { + +// hack to make egcs / gcc 2.95.2 happy +class nsIPresShell_base : public nsISupports +{ public: NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPRESSHELL_IID) +}; +class nsIPresShell : public nsIPresShell_base +{ +public: NS_IMETHOD Init(nsIDocument* aDocument, nsPresContext* aPresContext, nsIViewManager* aViewManager,