2024-04-20 12:54:48 +02:00
|
|
|
#include "core/plugin.h"
|
|
|
|
|
#include "logger.h"
|
|
|
|
|
|
|
|
|
|
#include "wsfm/module_wsfm_instruments.h"
|
|
|
|
|
|
|
|
|
|
class WSFSupport : public satdump::Plugin
|
|
|
|
|
{
|
|
|
|
|
public:
|
2025-05-31 20:26:47 +02:00
|
|
|
std::string getID() { return "wsf_support"; }
|
2024-04-20 12:54:48 +02:00
|
|
|
|
2025-05-31 20:26:47 +02:00
|
|
|
void init() { satdump::eventBus->register_handler<satdump::pipeline::RegisterModulesEvent>(registerPluginsHandler); }
|
2024-04-20 12:54:48 +02:00
|
|
|
|
2025-05-31 20:26:47 +02:00
|
|
|
static void registerPluginsHandler(const satdump::pipeline::RegisterModulesEvent &evt) { REGISTER_MODULE_EXTERNAL(evt.modules_registry, wsfm::WSFMInstrumentsDecoderModule); }
|
2024-04-20 12:54:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
PLUGIN_LOADER(WSFSupport)
|