NS_IMPL_QUERY_INTERFACE(nsWindowEnumerator, kISimpleEnumberatorIID);
NS_IMETHODIMP nsWindowMediator::QueryInterface(REFNSIID iid, void **result) { if (! result) return NS_ERROR_NULL_POINTER;  *result = nsnull; if (iid.Equals(kIRDFDataSourceIID) || iid.Equals(kIWindowMediatorIID)	|| iid.Equals(kISupportsIID) ) { *result = NS_STATIC_CAST(nsIWindowMediator *, this); AddRef(); return NS_OK; } return(NS_NOINTERFACE); }
NS_IMPL_QUERY_INTERFACE(nsWindowEnumerator, kISimpleEnumberatorIID);