MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / GetIniStringVector

Function GetIniStringVector

Source/options.cpp:171–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171bool GetIniStringVector(const char *sectionName, const char *keyName, std::vector<std::string> &stringValues)
172{
173 std::list<CSimpleIni::Entry> values;
174 if (!GetIni().GetAllValues(sectionName, keyName, values)) {
175 return false;
176 }
177 for (auto &entry : values) {
178 stringValues.emplace_back(entry.pItem);
179 }
180 return true;
181}
182
183void SetIniValue(const char *keyname, const char *valuename, int value)
184{

Callers 1

LoadOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected