Lines Matching defs:anObserverList
110 nsresult nsObserverService::GetObserverList(const char* aTopic, nsObserverList** anObserverList)
112 if (anObserverList == nsnull)
135 *anObserverList = topicObservers;
143 *anObserverList = topicObservers;
151 nsObserverList* anObserverList;
157 rv = GetObserverList(aTopic, &anObserverList);
160 return anObserverList->AddObserver(anObserver, ownsWeak);
165 nsObserverList* anObserverList;
171 rv = GetObserverList(aTopic, &anObserverList);
174 return anObserverList->RemoveObserver(anObserver);
179 nsObserverList* anObserverList;
185 rv = GetObserverList(aTopic, &anObserverList);
188 return anObserverList->GetObserverList(anEnumerator);