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

Method SetMsgLoopFactory

SOUI/src/SApp.cpp:452–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450}
451
452BOOL SApplication::SetMsgLoopFactory(IMsgLoopFactory *pMsgLoopFac)
453{
454 if(m_pMsgLoop->IsRunning()) return FALSE;
455 m_msgLoopFactory->DestoryMsgLoop(m_pMsgLoop);
456 m_msgLoopFactory = pMsgLoopFac;
457 m_pMsgLoop = m_msgLoopFactory->CreateMsgLoop();
458 return TRUE;
459}
460
461IMsgLoopFactory * SApplication::GetMsgLoopFactory()
462{

Callers

nothing calls this directly

Calls 3

IsRunningMethod · 0.80
DestoryMsgLoopMethod · 0.80
CreateMsgLoopMethod · 0.80

Tested by

no test coverage detected