NS_IMPL_QUERY_INTERFACE1(nsAutoScrollTimer, nsITimerCallback)
nsSelection::QueryInterface(REFNSIID aIID, void** aInstancePtr) { if (nsnull == aInstancePtr) { return NS_ERROR_NULL_POINTER; } if (aIID.Equals(NS_GET_IID(nsIFrameSelection))) { nsIFrameSelection* tmp = this; *aInstancePtr = (void*) tmp; NS_ADDREF_THIS(); return NS_OK; } if (aIID.Equals(NS_GET_IID(nsISupports))) {  nsIFrameSelection* tmp1 = this; nsISupports* tmp2 = tmp1; *aInstancePtr = (void*) tmp2; NS_ADDREF_THIS(); return NS_OK; } NS_ASSERTION(PR_FALSE,"bad query interface in FrameSelection"); return NS_NOINTERFACE; }
NS_IMPL_QUERY_INTERFACE1(nsAutoScrollTimer, nsITimerCallback)