Searched refs:listener (Results 1 - 25 of 329) sorted by relevance

1234567891011>>

/haiku/src/servers/app/
H A DDesktopListener.cpp28 DesktopObservable::RegisterListener(DesktopListener* listener, Desktop* desktop) argument
30 fDesktopListenerList.Add(listener);
31 listener->ListenerRegistered(desktop);
36 DesktopObservable::UnregisterListener(DesktopListener* listener) argument
38 fDesktopListenerList.Remove(listener);
39 listener->ListenerUnregistered();
56 for (DesktopListener* listener = fDesktopListenerList.First();
57 listener != NULL; listener = fDesktopListenerList.GetNext(listener)) {
[all...]
/haiku/src/kits/interface/
H A DLayoutContext.cpp40 BLayoutContextListener* listener
43 listener->LayoutContextLeft(this);
49 BLayoutContext::AddListener(BLayoutContextListener* listener) argument
51 if (listener)
52 fListeners.AddItem(listener);
57 BLayoutContext::RemoveListener(BLayoutContextListener* listener) argument
59 if (listener)
60 fListeners.RemoveItem(listener);
/haiku/src/system/kernel/
H A Dlisteners.cpp18 /*! Add the given wait object listener. gWaitObjectListenerLock lock must be
22 add_wait_object_listener(struct WaitObjectListener* listener) argument
24 gWaitObjectListeners.Add(listener);
28 /*! Remove the given wait object listener. gWaitObjectListenerLock lock must be
32 remove_wait_object_listener(struct WaitObjectListener* listener) argument
34 gWaitObjectListeners.Remove(listener);
H A DNotifications.cpp144 // Only delete the listener if it's one of ours
145 if (dynamic_cast<UserMessagingListener*>(listener) != NULL) {
146 delete listener;
176 // Note: The following iterations support that the listener removes itself
181 while (default_listener* listener = iterator.Next()) {
182 if ((eventMask & listener->eventMask) != 0)
183 listener->listener->EventOccurred(*this, &event);
188 while (default_listener* listener = iterator.Next()) {
189 if ((eventMask & listener
305 AddListener(const KMessage* eventSpecifier, NotificationListener& listener) argument
448 default_listener* listener = new(std::nothrow) default_listener; local
535 AddListener(const char* serviceName, uint32 eventMask, NotificationListener& listener) argument
548 AddListener(const char* serviceName, const KMessage* eventSpecifier, NotificationListener& listener) argument
564 UpdateListener(const char* serviceName, uint32 eventMask, NotificationListener& listener) argument
577 UpdateListener(const char* serviceName, const KMessage* eventSpecifier, NotificationListener& listener) argument
593 RemoveListener(const char* serviceName, const KMessage* eventSpecifier, NotificationListener& listener) argument
[all...]
/haiku/headers/private/debugger/
H A DDebuggerGlobals.h12 status_t debugger_global_init(TargetHostInterfaceRoster::Listener* listener);
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DConnectionListenerFactory.cpp28 // create the connection listener
29 ConnectionListener* listener = NULL;
31 listener = new(std::nothrow) InsecureConnectionListener;
33 listener = new(std::nothrow) PortConnectionListener;
36 if (!listener)
39 status_t error = listener->Init(parameters);
41 delete listener;
44 *connectionListener = listener;
/haiku/src/apps/debugger/user_interface/gui/value/
H A DTableCellValueEditor.cpp27 TableCellValueEditor::AddListener(Listener* listener) argument
29 fListeners.Add(listener);
34 TableCellValueEditor::RemoveListener(Listener* listener) argument
36 fListeners.Remove(listener);
56 Listener* listener = it.Next();) {
57 listener->TableCellEditBeginning();
66 Listener* listener = it.Next();) {
67 listener->TableCellEditCancelled();
76 Listener* listener = it.Next();) {
77 listener
[all...]
/haiku/src/kits/network/libnetapi/
H A DUrlProtocolRoster.cpp24 BUrlProtocolListener* listener, BUrlContext* context)
28 return new(std::nothrow) BHttpRequest(url, false, "HTTP", listener,
31 return new(std::nothrow) BHttpRequest(url, true, "HTTPS", listener,
34 return new(std::nothrow) BFileRequest(url, listener, context);
36 return new(std::nothrow) BDataRequest(url, listener, context);
38 return new(std::nothrow) BGopherRequest(url, listener, context);
23 MakeRequest(const BUrl& url, BUrlProtocolListener* listener, BUrlContext* context) argument
/haiku/src/servers/launch/
H A DVolumeWatcher.h27 void AddListener(VolumeListener* listener);
28 void RemoveListener(VolumeListener* listener);
33 static void Register(VolumeListener* listener);
34 static void Unregister(VolumeListener* listener);
H A DNetworkWatcher.h26 void AddListener(NetworkListener* listener);
27 void RemoveListener(NetworkListener* listener);
32 static void Register(NetworkListener* listener);
33 static void Unregister(NetworkListener* listener);
H A DVolumeWatcher.cpp54 VolumeWatcher::AddListener(VolumeListener* listener) argument
57 fListeners.AddItem(listener);
62 VolumeWatcher::RemoveListener(VolumeListener* listener) argument
65 fListeners.RemoveItem(listener);
108 VolumeWatcher::Register(VolumeListener* listener) argument
114 sWatcher->AddListener(listener);
119 VolumeWatcher::Unregister(VolumeListener* listener) argument
122 sWatcher->RemoveListener(listener);
/haiku/src/kits/debugger/model/
H A DTeamMemoryBlock.cpp36 TeamMemoryBlock::AddListener(Listener* listener) argument
39 fListeners.Add(listener);
44 TeamMemoryBlock::HasListener(Listener* listener) argument
49 if (iterator.Next() == listener)
58 TeamMemoryBlock::RemoveListener(Listener* listener) argument
61 fListeners.Remove(listener);
99 Listener* listener = it.Next();) {
101 listener->MemoryBlockRetrieved(this);
103 listener->MemoryBlockRetrievalFailed(this, result);
/haiku/src/apps/debugger/user_interface/gui/connection_config/
H A DConnectionConfigView.cpp21 ConnectionConfigView::Init(TargetHostInterfaceInfo* info, Listener* listener) argument
24 fListener = listener;
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A DJournal.h81 AddListener(TransactionListener* listener) argument
83 fListeners.Add(listener);
87 RemoveListener(TransactionListener* listener) argument
89 fListeners.Remove(listener);
90 listener->RemovedFromTransaction();
96 while (TransactionListener* listener = fListeners.RemoveHead()) {
97 listener->TransactionDone(success);
98 listener->RemovedFromTransaction();
/haiku/src/apps/haikudepot/server/
H A DAbstractProcess.cpp36 AbstractProcess::SetListener(AbstractProcessListener* listener) argument
39 fListener = listener;
67 AbstractProcessListener* listener; local
73 listener = fListener;
79 if (listener != NULL)
80 listener->ProcessExited();
113 AbstractProcessListener* listener = NULL; local
123 listener = fListener;
129 if (listener != NULL)
130 listener
[all...]
/haiku/src/add-ons/kernel/file_systems/packagefs/package_links/
H A DPackageLinkDirectory.h33 PackageLinksListener* listener);
35 PackageLinksListener* listener);
37 PackageLinksListener* listener);
61 status_t _Update(PackageLinksListener* listener);
63 PackageLinksListener* listener);
68 PackageLinksListener* listener);
70 PackageLinksListener* listener);
H A DPackageLinksDirectory.h23 void SetListener(PackageLinksListener* listener) argument
24 { fListener = listener; }
H A DPackageLinkDirectory.cpp107 PackageLinksListener* listener)
125 _Update(listener);
131 PackageLinksListener* listener)
143 _Update(listener);
149 PackageLinksListener* listener)
159 _UpdateDependencies(listener);
164 PackageLinkDirectory::_Update(PackageLinksListener* listener) argument
169 _RemoveLink(link, listener);
175 _RemoveLink(fSelfLink, listener);
178 _RemoveLink(fSettingsLink, listener);
106 AddPackage(Package* package, PackageLinksListener* listener) argument
130 RemovePackage(Package* package, PackageLinksListener* listener) argument
148 UpdatePackageDependencies(Package* package, PackageLinksListener* listener) argument
202 _UpdateDependencies(PackageLinksListener* listener) argument
251 _RemoveLink(Link* link, PackageLinksListener* listener) argument
266 _CreateOrUpdateLink(Link*& link, Package* package, Link::Type type, const String& name, PackageLinksListener* listener) argument
[all...]
/haiku/src/apps/debugger/user_interface/gui/connection_config/config_handlers/
H A DNetworkConnectionConfigHandler.h17 ConnectionConfigView::Listener* listener,
H A DNetworkConnectionConfigHandler.cpp28 ConnectionConfigView::Listener* listener, ConnectionConfigView*& _view)
34 status_t error = view->Init(info, listener);
27 CreateView(TargetHostInterfaceInfo* info, ConnectionConfigView::Listener* listener, ConnectionConfigView*& _view) argument
/haiku/src/kits/support/
H A DJob.cpp169 BJob::AddStateListener(BJobStateListener* listener) argument
171 return fStateListeners.AddItem(listener) ? B_OK : B_ERROR;
176 BJob::RemoveStateListener(BJobStateListener* listener) argument
178 return fStateListeners.RemoveItem(listener) ? B_OK : B_ERROR;
241 BJobStateListener* listener = fStateListeners.ItemAt(i); local
242 if (listener == NULL)
246 listener->JobStarted(this);
249 listener->JobProgress(this);
252 listener->JobSucceeded(this);
255 listener
[all...]
/haiku/headers/private/kernel/
H A Dkmodule.h21 NotificationListener &listener);
23 NotificationListener &listener);
H A Dlisteners.h47 while (SchedulerListener* listener = it.Next())
48 (listener->*hook)(parameter1);
61 while (SchedulerListener* listener = it.Next())
62 (listener->*hook)(parameter1, parameter2);
95 while (WaitObjectListener* listener = it.Next())
96 (listener->*hook)(parameter1);
111 while (WaitObjectListener* listener = it.Next())
112 (listener->*hook)(parameter1, parameter2);
117 void add_wait_object_listener(struct WaitObjectListener* listener);
118 void remove_wait_object_listener(struct WaitObjectListener* listener);
[all...]
/haiku/src/apps/mediaplayer/support/
H A DNotifier.cpp41 Notifier::AddListener(Listener* listener) argument
43 if (listener && !fListeners.HasItem((void*)listener)) {
44 return fListeners.AddItem((void*)listener);
51 Notifier::RemoveListener(Listener* listener) argument
53 return fListeners.RemoveItem((void*)listener);
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DTransaction.cpp162 Transaction::AddListener(TransactionListener* listener) argument
168 fListeners.Add(listener);
173 Transaction::RemoveListener(TransactionListener* listener) argument
179 fListeners.Remove(listener);
180 listener->RemovedFromTransaction();
198 while (TransactionListener* listener = fListeners.RemoveHead()) {
199 listener->TransactionDone(success);
200 listener->RemovedFromTransaction();
209 while (TransactionListener* listener = fListeners.RemoveHead())
210 transaction->fListeners.Add(listener);
[all...]

Completed in 207 milliseconds

1234567891011>>