Select everything that's an update for something we've got */
| 877 | |
| 878 | /** Select everything that's an update for something we've got */ |
| 879 | void ClientNetworkContentSocketHandler::SelectUpgrade() |
| 880 | { |
| 881 | for (const auto &ci : this->infos) { |
| 882 | if (ci->state == ContentInfo::State::Unselected && ci->upgrade) { |
| 883 | ci->state = ContentInfo::State::Selected; |
| 884 | this->CheckDependencyState(*ci); |
| 885 | } |
| 886 | } |
| 887 | } |
| 888 | |
| 889 | /** Unselect everything that we've not downloaded so far. */ |
| 890 | void ClientNetworkContentSocketHandler::UnselectAll() |
no test coverage detected