MCPcopy Create free account
hub / github.com/amule-project/amule / ProcessEvent

Method ProcessEvent

src/UserEvents.cpp:160–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void CUserEvents::ProcessEvent(enum EventType event, const void* object)
161{
162 wxCHECK_RET(CheckIndex(event),
163 "CUserEvents::ProcessEvent: event index out of range");
164 wxCHECK_RET(object != NULL,
165 "CUserEvents::ProcessEvent: NULL object");
166
167#ifndef CLIENT_GUI
168 if (s_EventList[event].core_enabled) {
169 ExecuteCommand(event, object, s_EventList[event].core_command);
170 }
171#endif
172#ifndef AMULE_DAEMON
173 if (s_EventList[event].gui_enabled) {
174 ExecuteCommand(event, object, s_EventList[event].gui_command);
175 }
176#endif
177}

Callers 15

OnRMButtonMethod · 0.80
TransferToWindowMethod · 0.80
SendCheckBoxEventFunction · 0.80
SendListEventMethod · 0.80
OnPaintMethod · 0.80
SendNotifyMethod · 0.80
EditLabelMethod · 0.80
OnRenameAcceptMethod · 0.80
OnRenameCancelledMethod · 0.80
OnMouseMethod · 0.80
OnKeyDownMethod · 0.80
OnKeyUpMethod · 0.80

Calls 2

CheckIndexFunction · 0.85
ExecuteCommandFunction · 0.85

Tested by

no test coverage detected