MCPcopy Create free account
hub / github.com/SOUI2/soui / removeEvent

Method removeEvent

SOUI/src/event/EventSet.cpp:128–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 }
127
128 void SEventSet::removeEvent( const DWORD dwEventID )
129 {
130 for(UINT i=0;i<m_evtArr.GetCount();i++)
131 {
132 if(m_evtArr[i]->GetID()==dwEventID)
133 {
134 delete m_evtArr[i];
135 m_evtArr.RemoveAt(i);
136 return;
137 }
138 }
139 }
140
141 bool SEventSet::isEventPresent( const DWORD dwEventID )
142 {

Callers 1

OnBtnStopNotifyThreadMethod · 0.45

Calls 3

RemoveAtMethod · 0.80
GetCountMethod · 0.45
GetIDMethod · 0.45

Tested by

no test coverage detected