mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-26 12:27:51 +02:00
Fixed support in the module manager
This commit is contained in:
@ -41,15 +41,15 @@ public:
|
||||
handler.tuneHandler = tune;
|
||||
handler.stream = &stream;
|
||||
sigpath::sourceManager.registerSource("File", &handler);
|
||||
|
||||
spdlog::info("FileSourceModule '{0}': Instance created!", name);
|
||||
}
|
||||
|
||||
~FileSourceModule() {
|
||||
|
||||
spdlog::info("FileSourceModule '{0}': Instance deleted!", name);
|
||||
stop(this);
|
||||
sigpath::sourceManager.unregisterSource("File");
|
||||
}
|
||||
|
||||
void postInit() {}
|
||||
|
||||
void enable() {
|
||||
enabled = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user