From 80c7c4981c5e4e91fbc231e84993927287568aa6 Mon Sep 17 00:00:00 2001 From: "scc%netscape.com" Date: Tue, 4 May 1999 09:51:04 +0000 Subject: [PATCH] oops git-svn-id: svn://10.0.0.236/trunk@30102 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/base/nsISupportsUtils.h | 4 ++++ mozilla/xpcom/glue/nsISupportsUtils.h | 4 ++++ mozilla/xpcom/public/nsISupportsUtils.h | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/mozilla/xpcom/base/nsISupportsUtils.h b/mozilla/xpcom/base/nsISupportsUtils.h index f7190a7d492..bc4f77ac57a 100644 --- a/mozilla/xpcom/base/nsISupportsUtils.h +++ b/mozilla/xpcom/base/nsISupportsUtils.h @@ -557,6 +557,8 @@ NS_IMETHODIMP _class::QueryInterface(REFNSIID aIID, void** aInstancePtr) \ // A type-safe interface for calling |QueryInterface()|. A similar implementation // exists in "nsCOMPtr.h" for use with |nsCOMPtr|s. +class nsISupports; + template inline nsresult @@ -568,4 +570,6 @@ CallQueryInterface( nsISupports* aSource, T** aDestination ) return aSource->QueryInterface(T::GetIID(), aDestination); } +//////////////////////////////////////////////////////////////////////////////// + #endif /* __nsISupportsUtils_h */ diff --git a/mozilla/xpcom/glue/nsISupportsUtils.h b/mozilla/xpcom/glue/nsISupportsUtils.h index f7190a7d492..bc4f77ac57a 100644 --- a/mozilla/xpcom/glue/nsISupportsUtils.h +++ b/mozilla/xpcom/glue/nsISupportsUtils.h @@ -557,6 +557,8 @@ NS_IMETHODIMP _class::QueryInterface(REFNSIID aIID, void** aInstancePtr) \ // A type-safe interface for calling |QueryInterface()|. A similar implementation // exists in "nsCOMPtr.h" for use with |nsCOMPtr|s. +class nsISupports; + template inline nsresult @@ -568,4 +570,6 @@ CallQueryInterface( nsISupports* aSource, T** aDestination ) return aSource->QueryInterface(T::GetIID(), aDestination); } +//////////////////////////////////////////////////////////////////////////////// + #endif /* __nsISupportsUtils_h */ diff --git a/mozilla/xpcom/public/nsISupportsUtils.h b/mozilla/xpcom/public/nsISupportsUtils.h index f7190a7d492..bc4f77ac57a 100644 --- a/mozilla/xpcom/public/nsISupportsUtils.h +++ b/mozilla/xpcom/public/nsISupportsUtils.h @@ -557,6 +557,8 @@ NS_IMETHODIMP _class::QueryInterface(REFNSIID aIID, void** aInstancePtr) \ // A type-safe interface for calling |QueryInterface()|. A similar implementation // exists in "nsCOMPtr.h" for use with |nsCOMPtr|s. +class nsISupports; + template inline nsresult @@ -568,4 +570,6 @@ CallQueryInterface( nsISupports* aSource, T** aDestination ) return aSource->QueryInterface(T::GetIID(), aDestination); } +//////////////////////////////////////////////////////////////////////////////// + #endif /* __nsISupportsUtils_h */