MCPcopy Create free account
hub / github.com/bruderstein/nppPluginManager / addPluginNames

Method addPluginNames

pluginManager/src/PluginList.cpp:135–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133
134
135void PluginList::addPluginNames(TiXmlElement* pluginNamesElement)
136{
137 TiXmlElement *pluginNameNode = pluginNamesElement->FirstChildElement();
138
139 while(pluginNameNode)
140 {
141 if (pluginNameNode->Attribute(_T("md5")) && pluginNameNode->Attribute(_T("name")))
142 {
143 _pluginRealNames[pluginNameNode->Attribute(_T("md5"))] = pluginNameNode->Attribute(_T("name"));
144 }
145
146 pluginNameNode = (TiXmlElement*)pluginNamesElement->IterateChildren(pluginNameNode);
147 }
148}
149
150
151BOOL PluginList::parsePluginFile(CONST TCHAR *filename)

Callers

nothing calls this directly

Calls 3

FirstChildElementMethod · 0.45
AttributeMethod · 0.45
IterateChildrenMethod · 0.45

Tested by

no test coverage detected