Searched defs:observer (Results 1 - 5 of 5) sorted by relevance
/vbox/src/libs/xpcom18a4/xpcom/tests/ |
H A D | TestObserverService.cpp | 109 nsresult res = nsComponentManager::CreateInstance("@mozilla.org/observer-service;1", 121 printf("Adding Observer-A as observer of topic-A...\n"); 125 printf("Adding Observer-B as observer of topic-A...\n"); 129 printf("Adding Observer-B as observer of topic-B...\n"); 133 printf("Testing Notify(observer-A, topic-A)...\n"); 136 NS_LITERAL_STRING("Testing Notify(observer-A, topic-A)").get() ); 139 printf("Testing Notify(observer-B, topic-B)...\n"); 142 NS_LITERAL_STRING("Testing Notify(observer-B, topic-B)").get() ); 153 nsCOMPtr<nsIObserver> observer; local 157 e->GetNext(getter_AddRefs(observer)); [all...] |
/vbox/src/libs/xpcom18a4/xpcom/ds/ |
H A D | nsObserverService.cpp | 206 nsCOMPtr<nsIObserver> observer = do_QueryInterface(observerRef); local 207 if ( observer ) 208 observer->Observe( aSubject, aTopic, someData ); 214 weakRef->QueryReferent(NS_GET_IID(nsIObserver), getter_AddRefs(observer)); 216 if ( observer ) 217 observer->Observe( aSubject, aTopic, someData );
|
/vbox/src/libs/xpcom18a4/ipc/ipcd/extensions/transmngr/src/ |
H A D | tmTransactionService.cpp | 163 // link the observer to the joinedqueuename. home #1 for joinedQueueName 207 // actual removal of the observer takes place when we get the detach reply 352 // notify the observer we have attached (or didn't) 353 ipcITransactionObserver *observer = local 356 if (observer) 357 observer->OnAttachReply(aTrans->GetQueueID(), aTrans->GetStatus()); 365 // get the observer before we release the hashtable entry 366 ipcITransactionObserver *observer = local 373 // remove the link between observer and queue 382 // notify the observer 390 ipcITransactionObserver *observer = local 400 ipcITransactionObserver *observer = local [all...] |
/vbox/src/libs/xpcom18a4/xpcom/components/ |
H A D | nsCategoryManager.cpp | 744 * this will attempt to notify the observer with the origin, observerTopic string 792 // try an observer, if it implements it. 793 nsCOMPtr<nsIObserver> observer = do_QueryInterface(instance, &rv); local 794 if (NS_SUCCEEDED(rv) && observer) 795 observer->Observe(origin, observerTopic, EmptyString().get());
|
/vbox/src/libs/xpcom18a4/ipc/ipcd/client/src/ |
H A D | ipcdclient.cpp | 87 nsCOMPtr<ipcIMessageObserver> observer; member in class:ipcTargetData 89 // the message observer is called via this event queue 95 // non-zero if the observer has been disabled (this means that new messages 96 // should not be dispatched to the observer until the observer is re-enabled 135 observer = aObserver; 299 // if the observer for this target has been temporarily disabled, then 315 if (td->observer && msg->Target().Equals(aTarget)) 316 td->observer->OnMessageAvailable(msg->mMetaData, 322 // the IPCM target does not have an observer, an 999 ipcIMessageObserver *observer; member in struct:WaitMessageSelectorData [all...] |
Completed in 3716 milliseconds