On Sun, 2019-05-05 at 08:49 +0200, Tobias Klein wrote: > Hi, > how is SWModule::getConfigEntry(const char *key) supposed to behave > when there are multiple entries with the same key?
There is a set of separate methods for those. Check out ./examples/cmdline/listoptions.cpp > { > SWMgr library; > > StringList options = library.getGlobalOptions(); > for (StringList::const_iterator it = options.begin(); it != > options.end(); ++it) { > cout << *it << " (" << > library.getGlobalOptionTip(*it) << ")\n"; > StringList optionValues = > library.getGlobalOptionValues(*it); > for (StringList::const_iterator it2 = > optionValues.begin(); it2 != optionValues.end(); ++it2) { > cout << "\t" << *it2 << "\n"; > } > } > _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page