Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C++ by Zero ( 17 years ago )
bool EventLoop::Run()
{
if ( m_EntryPoints.empty() )
{
return false;
}
// After this the Sytem is running
// You need to DoLoop() regulary now
while ( !m_ShouldExit )
{
// Run syncroniously
size_t size = m_EntryPoints.size();
for ( size_t i = 0; i < size; ++i )
{
// Call EntryPoint
(m_EntryPoints[i]) (this);
}
DoLoop();
}
return true;
}
Revise this Paste