MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / begin

Method begin

src/Plugin/PluginMgr.cpp:76–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 *****************************************************************************/
75
76void PluginMgr::begin()
77{
78 SettingsService& settings = SettingsService::getInstance();
79
80 if (false == settings.open(true))
81 {
82 m_deviceId = settings.getHostname().getDefault();
83 }
84 else
85 {
86 m_deviceId = settings.getHostname().getValue();
87
88 settings.close();
89 }
90
91 createPluginConfigDirectory();
92}
93
94IPluginMaintenance* PluginMgr::install(const char* name, uint8_t slotId)
95{

Callers 2

destroyPluginMethod · 0.45
generateUIDMethod · 0.45

Calls 4

openMethod · 0.45
getDefaultMethod · 0.45
getValueMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected