git-svn-id: svn://10.0.0.236/trunk@30102 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%netscape.com
1999-05-04 09:51:04 +00:00
parent 04026d5bf8
commit 80c7c4981c
3 changed files with 12 additions and 0 deletions

View File

@@ -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 <class T>
inline
nsresult
@@ -568,4 +570,6 @@ CallQueryInterface( nsISupports* aSource, T** aDestination )
return aSource->QueryInterface(T::GetIID(), aDestination);
}
////////////////////////////////////////////////////////////////////////////////
#endif /* __nsISupportsUtils_h */

View File

@@ -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 <class T>
inline
nsresult
@@ -568,4 +570,6 @@ CallQueryInterface( nsISupports* aSource, T** aDestination )
return aSource->QueryInterface(T::GetIID(), aDestination);
}
////////////////////////////////////////////////////////////////////////////////
#endif /* __nsISupportsUtils_h */

View File

@@ -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 <class T>
inline
nsresult
@@ -568,4 +570,6 @@ CallQueryInterface( nsISupports* aSource, T** aDestination )
return aSource->QueryInterface(T::GetIID(), aDestination);
}
////////////////////////////////////////////////////////////////////////////////
#endif /* __nsISupportsUtils_h */