| 48 | } |
| 49 | |
| 50 | Plugin* ecode::PluginManager::get( const std::string& id ) { |
| 51 | auto findIt = mPlugins.find( id ); |
| 52 | if ( findIt != mPlugins.end() ) |
| 53 | return findIt->second; |
| 54 | return nullptr; |
| 55 | } |
| 56 | |
| 57 | bool PluginManager::setEnabled( const std::string& id, bool enable, bool sync ) { |
| 58 | mPluginsEnabled[id] = enable; |
no test coverage detected