MCPcopy Create free account
hub / github.com/AlexandreRouma/SDRPlusPlus / _INIT_

Function _INIT_

source_modules/file_source/src/main.cpp:198–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196};
197
198MOD_EXPORT void _INIT_() {
199 json def = json({});
200 def["path"] = "";
201 config.setPath(options::opts.root + "/file_source_config.json");
202 config.load(def);
203 config.enableAutoSave();
204}
205
206MOD_EXPORT void* _CREATE_INSTANCE_(std::string name) {
207 return new FileSourceModule(name);

Callers

nothing calls this directly

Calls 3

enableAutoSaveMethod · 0.80
setPathMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected