MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / registerInspectionWidgetFactory

Method registerInspectionWidgetFactory

Suscan/Library.cpp:1272–1283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1270}
1271
1272bool
1273Singleton::registerInspectionWidgetFactory(SigDigger::InspectionWidgetFactory *factory)
1274{
1275 // Not a bug. The plugin went ahead of ourselves.
1276 if (this->inspectionWidgetFactories.contains(factory))
1277 return true;
1278
1279 this->inspectionWidgetFactories.push_back(factory);
1280 this->inspectionWidgetFactoryTable[factory->name()] = factory;
1281
1282 return true;
1283}
1284
1285bool
1286Singleton::unregisterInspectionWidgetFactory(SigDigger::InspectionWidgetFactory *factory)

Callers 2

DefaultPluginEntryMethod · 0.80
registerGloballyMethod · 0.80

Calls 1

nameMethod · 0.45

Tested by 1

registerGloballyMethod · 0.64