| 1626 | |
| 1627 | |
| 1628 | bool cPluginManager::ForEachCommand(cCommandEnumCallback & a_Callback) |
| 1629 | { |
| 1630 | for (CommandMap::iterator itr = m_Commands.begin(), end = m_Commands.end(); itr != end; ++itr) |
| 1631 | { |
| 1632 | if (a_Callback.Command(itr->first, itr->second.m_Plugin, itr->second.m_Permission, itr->second.m_HelpString)) |
| 1633 | { |
| 1634 | return false; |
| 1635 | } |
| 1636 | } // for itr - m_Commands[] |
| 1637 | return true; |
| 1638 | } |
| 1639 | |
| 1640 | |
| 1641 |
no test coverage detected