MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / getInstalledFileSystemFromName

Method getInstalledFileSystemFromName

source/ui/data/globalSettings.cpp:231–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231std::shared_ptr<FileSystemZip> GlobalSettings::getInstalledFileSystemFromName(BString name, bool mustHaveWine) {
232 for (auto& ver : GlobalSettings::fileSystemVersions) {
233 if (ver->name.compareTo(name, true) == 0 && (!mustHaveWine || ver->hasWine())) {
234 return ver;
235 }
236 }
237 return nullptr;
238}
239
240std::vector<std::shared_ptr<FileSystemZip>> GlobalSettings::getWineVersions() {
241 std::vector<std::shared_ptr<FileSystemZip>> results;

Callers

nothing calls this directly

Calls 2

compareToMethod · 0.80
hasWineMethod · 0.80

Tested by

no test coverage detected