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

Method SetMenu

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

Source from the content-addressed store, hash-verified

94public:
95 static PluginContainer& Instance() { return instance; }
96 void SetMenu(Menu& _menu) { menu = &_menu; }
97 void Load(const string& plugin)
98 {
99 auto p = PluginRegistry::Instance().Create(plugin, menu);

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected