2023-01-18 23:17:24 +01:00
|
|
|
#include "core/plugin.h"
|
|
|
|
|
#include "logger.h"
|
|
|
|
|
|
|
|
|
|
#include "stdc/module_stdc_decoder.h"
|
|
|
|
|
#include "stdc/module_stdc_parser.h"
|
|
|
|
|
|
2023-02-02 23:20:54 +01:00
|
|
|
#include "aero/module_aero_decoder.h"
|
2023-02-08 14:06:40 +01:00
|
|
|
#include "aero/module_aero_parser.h"
|
2023-02-02 23:20:54 +01:00
|
|
|
|
2023-01-18 23:17:24 +01:00
|
|
|
class InmarsatSupport : public satdump::Plugin
|
|
|
|
|
{
|
|
|
|
|
public:
|
2025-05-31 20:26:47 +02:00
|
|
|
std::string getID() { return "inmarsat_support"; }
|
2023-01-18 23:17:24 +01:00
|
|
|
|
2025-05-31 20:26:47 +02:00
|
|
|
void init() { satdump::eventBus->register_handler<satdump::pipeline::RegisterModulesEvent>(registerPluginsHandler); }
|
2023-01-18 23:17:24 +01:00
|
|
|
|
2025-05-31 20:26:47 +02:00
|
|
|
static void registerPluginsHandler(const satdump::pipeline::RegisterModulesEvent &evt)
|
2023-01-18 23:17:24 +01:00
|
|
|
{
|
|
|
|
|
REGISTER_MODULE_EXTERNAL(evt.modules_registry, inmarsat::stdc::STDCDecoderModule);
|
|
|
|
|
REGISTER_MODULE_EXTERNAL(evt.modules_registry, inmarsat::stdc::STDCParserModule);
|
2023-02-02 23:20:54 +01:00
|
|
|
|
|
|
|
|
REGISTER_MODULE_EXTERNAL(evt.modules_registry, inmarsat::aero::AeroDecoderModule);
|
2023-02-08 14:06:40 +01:00
|
|
|
REGISTER_MODULE_EXTERNAL(evt.modules_registry, inmarsat::aero::AeroParserModule);
|
2023-01-18 23:17:24 +01:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
PLUGIN_LOADER(InmarsatSupport)
|