Lines Matching defs:handler

100 		status_t Add(const BHandler* handler, uint32 what);
102 status_t Remove(const BHandler* handler, uint32 what);
252 // let's try next handler
268 // we need to apply the next handler's filters here, too
272 // us in the handler chain - at least in case it wasn't before
273 // the handler actually targeted with this message - this could
314 BHandler::SetNextHandler(BHandler* handler)
317 debugger("handler must belong to looper before setting NextHandler");
322 debugger("The handler's looper must be locked before setting NextHandler");
326 if (handler != NULL && fLooper != handler->Looper()) {
327 debugger("The handler and its NextHandler must have the same looper");
331 fNextHandler = handler;
494 entry suites, type='CSTR', c=1, size=21, data[0]: "suite/vnd.Be-handler"
517 status_t result = data->AddString("suites", "suite/vnd.Be-handler");
564 BHandler::StartWatching(BHandler* handler, uint32 what)
570 return list->Add(handler, what);
575 BHandler::StartWatchingAll(BHandler* handler)
577 return StartWatching(handler, B_OBSERVER_OBSERVE_ALL);
582 BHandler::StopWatching(BHandler* handler, uint32 what)
588 return list->Remove(handler, what);
593 BHandler::StopWatchingAll(BHandler* handler)
595 return StopWatching(handler, B_OBSERVER_OBSERVE_ALL);
665 _ReservedHandler1__8BHandler(BHandler* handler, uint32 what,
668 handler->BHandler::SendNotices(what, notice);
769 ObserverList::Add(const BHandler* handler, uint32 what)
771 if (handler == NULL)
774 // if this handler already represents a valid target, add its messenger
775 BMessenger target(handler);
782 iter = find(handlers.begin(), handlers.end(), handler);
788 handlers.push_back(handler);
811 ObserverList::Remove(const BHandler* handler, uint32 what)
813 if (handler == NULL)
817 BMessenger target(handler);
824 handlers.end(), handler);