MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / getDefaultPlugin

Method getDefaultPlugin

Suscan/Plugin.cpp:159–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159Plugin *
160Plugin::getDefaultPlugin()
161{
162 if (m_default == nullptr) {
163 m_default = new Plugin(
164 "default",
165 QCoreApplication::applicationName().toStdString(),
166 "Default plugin",
167 nullptr);
168 m_default->m_version = SIGDIGGER_VERSION_STRING;
169 }
170
171 return m_default;
172}
173
174// Implementation
175Plugin::Plugin()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected