iid.Equals(kISupportsIID)) {
iid.Equals(NS_GET_IID(nsISupports))) {
    NS_IMETHOD QueryInterface(REFNSIID iid, void** result) {        if (! result)            return NS_ERROR_NULL_POINTER;        if (iid.Equals(nsISimpleEnumerator::GetIID()) ||            iid.Equals(kISupportsIID)) {            *result = (nsISimpleEnumerator*) this;            NS_ADDREF(this);            return NS_OK;        }        return NS_NOINTERFACE;    }