| 9 | {} |
| 10 | |
| 11 | bool GameFeaturesProxy::registerFeature(QStringList const& games, |
| 12 | std::shared_ptr<MOBase::GameFeature> feature, |
| 13 | int priority, bool replace) |
| 14 | { |
| 15 | if (replace) { |
| 16 | m_Features.unregisterGameFeatures(m_CoreProxy.plugin(), feature->typeInfo()); |
| 17 | } |
| 18 | return m_Features.registerGameFeature(m_CoreProxy.plugin(), games, feature, priority); |
| 19 | } |
| 20 | |
| 21 | bool GameFeaturesProxy::registerFeature(MOBase::IPluginGame* game, |
| 22 | std::shared_ptr<MOBase::GameFeature> feature, |
nothing calls this directly
no test coverage detected