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

Method Print

examples/pluginmanager.cpp:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 static PluginRegistry& Instance() { return instance; }
72 void Register(const string& name, Factory factory) { plugins.emplace_back(name, factory); }
73 void Print(ostream& out) const
74 {
75 for (auto& p: plugins)
76 out << " - " << p.first << endl;
77 }
78 unique_ptr<Plugin> Create(const string& name, Menu* menu) const
79 {
80 for (auto& p: plugins)

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected