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

Method DemoModule

misc_modules/demo_module/src/main.cpp:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13class DemoModule : public ModuleManager::Instance {
14public:
15 DemoModule(std::string name) {
16 this->name = name;
17 gui::menu.registerEntry(name, menuHandler, this, NULL);
18 }
19
20 ~DemoModule() {
21 gui::menu.removeEntry(name);

Callers

nothing calls this directly

Calls 1

registerEntryMethod · 0.80

Tested by

no test coverage detected