MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / EnumPlugins

Method EnumPlugins

Src/Manager.cpp:636–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634}
635
636int CManager::EnumPlugins(Handle *handle)
637{
638 int nRet = 0;
639 QMap<QString, CPlugin*>::iterator it;
640 for(it = m_Plugins.begin(); it != m_Plugins.end(); it++)
641 {
642 nRet = handle->onProcess(it.key(), it.value());
643 if(nRet)
644 return nRet;
645 }
646 return nRet;
647}
648
649#if HAS_CPP_11
650int CManager::EnumPlugins(std::function<int(const QString &, CPlugin *)> cb)

Callers 4

InitialMethod · 0.80
slotStartByTypeMethod · 0.80
InitialMethod · 0.80
slotStartByTypeMethod · 0.80

Calls 1

onProcessMethod · 0.45

Tested by

no test coverage detected