| 169 | } |
| 170 | |
| 171 | bool 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 | |
| 183 | void SetIniValue(const char *keyname, const char *valuename, int value) |
| 184 | { |