//////////////////////// FeatureFactory //////////////////////////////////
| 51 | |
| 52 | ///////////////////////////// FeatureFactory ////////////////////////////////// |
| 53 | FeatureFactory::FeatureFactory(Plugin *plugin) |
| 54 | { |
| 55 | // Construction of a FeatureFactory: notify the plugin about this new |
| 56 | // factory |
| 57 | if (plugin == nullptr) |
| 58 | plugin = Suscan::Plugin::getDefaultPlugin(); |
| 59 | |
| 60 | m_plugin = plugin; |
| 61 | |
| 62 | plugin->registerFactory(this); |
| 63 | } |
| 64 | |
| 65 | FeatureFactory::~FeatureFactory() |
| 66 | { |
nothing calls this directly
no test coverage detected