MCPcopy Create free account
hub / github.com/Qucs/qucs / registerModule

Method registerModule

qucs/module.cpp:48–53  ·  view source on GitHub ↗

Module registration using a category name and the appropriate function returning a modules instance object.

Source from the content-addressed store, hash-verified

46// Module registration using a category name and the appropriate
47// function returning a modules instance object.
48void Module::registerModule (QString category, pInfoFunc info) {
49 Module * m = new Module ();
50 m->info = info;
51 m->category = category;
52 intoCategory (m);
53}
54
55// Component registration using a category name and the appropriate
56// function returning a components instance object.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected