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

Function HandleNotification

src/GuiEvents.cpp:89–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87{
88
89 void HandleNotification(const CMuleNotiferBase& ntf)
90 {
91 if (wxThread::IsMain()) {
92#ifdef AMULE_DAEMON
93 ntf.Notify();
94#else
95 if (theApp->amuledlg) {
96 ntf.Notify();
97 }
98#endif
99 } else {
100 CMuleGUIEvent evt(ntf.Clone());
101 wxQueueEvent(wxTheApp, (evt).Clone());
102 }
103 }
104
105
106 void HandleNotificationAlways(const CMuleNotiferBase& ntf)

Callers 1

DoNotifyFunction · 0.70

Calls 2

NotifyMethod · 0.45
CloneMethod · 0.45

Tested by

no test coverage detected