MCPcopy Create free account
hub / github.com/daniele77/cli / RegisteredPlugin

Method RegisteredPlugin

examples/pluginmanager.cpp:140–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138{
139public:
140 RegisteredPlugin() : Plugin(NAME)
141 {
142 const Registration& dummy = registration;
143 do { (void)(dummy); } while (false); // silence unused variable warning
144 }
145private:
146 static unique_ptr<Plugin> Create(Menu* menu) { return make_unique<T>(menu); }
147 static Registration registration;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected