MCPcopy Create free account
hub / github.com/cinience/RedisStudio / SetFlashEventHandler

Method SetFlashEventHandler

DuiLib/Control/UIFlash.cpp:191–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 }
190
191 void CFlashUI::SetFlashEventHandler( CFlashEventHandler* pHandler )
192 {
193 if (m_pFlashEventHandler!=NULL)
194 {
195 m_pFlashEventHandler->Release();
196 }
197 if (pHandler==NULL)
198 {
199 m_pFlashEventHandler=pHandler;
200 return;
201 }
202 m_pFlashEventHandler=pHandler;
203 m_pFlashEventHandler->AddRef();
204 }
205
206 LRESULT CFlashUI::TranslateAccelerator( MSG *pMsg )
207 {

Callers

nothing calls this directly

Calls 2

ReleaseMethod · 0.45
AddRefMethod · 0.45

Tested by

no test coverage detected