oops
git-svn-id: svn://10.0.0.236/trunk@30102 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user