| 30 | using namespace SigDigger; |
| 31 | |
| 32 | bool |
| 33 | SigDigger::DefaultPluginEntry(Suscan::Plugin *plugin) |
| 34 | { |
| 35 | Suscan::Singleton *sus = Suscan::Singleton::get_instance(); |
| 36 | |
| 37 | // Please note: it is not strictly necessary to call registerToolWidgetFactory |
| 38 | // to register these tool factories. registerGlobally will traverse all |
| 39 | // the created factories and register them accordingly. Calling register here |
| 40 | // ensures that these factories are registered in order prior to any bulk |
| 41 | // registration triggered by Suscan::Plugin. This is the order in which |
| 42 | // they will show up in the GUI |
| 43 | |
| 44 | sus->registerToolWidgetFactory(new AudioWidgetFactory(plugin)); |
| 45 | sus->registerToolWidgetFactory(new SourceWidgetFactory(plugin)); |
| 46 | sus->registerToolWidgetFactory(new InspToolWidgetFactory(plugin)); |
| 47 | sus->registerToolWidgetFactory(new FFTWidgetFactory(plugin)); |
| 48 | |
| 49 | sus->registerTabWidgetFactory(new DefaultTabWidgetFactory(plugin)); |
| 50 | |
| 51 | sus->registerInspectionWidgetFactory(new GenericInspectorFactory(plugin)); |
| 52 | |
| 53 | return true; |
| 54 | } |
nothing calls this directly
no test coverage detected