* Unselect a specific content id. * @param cid the content ID to deselect */
| 856 | * @param cid the content ID to deselect |
| 857 | */ |
| 858 | void ClientNetworkContentSocketHandler::Unselect(ContentID cid) |
| 859 | { |
| 860 | ContentInfo *ci = this->GetContent(cid); |
| 861 | if (ci == nullptr || !ci->IsSelected()) return; |
| 862 | |
| 863 | ci->state = ContentInfo::State::Unselected; |
| 864 | this->CheckDependencyState(*ci); |
| 865 | } |
| 866 | |
| 867 | /** Select everything we can select */ |
| 868 | void ClientNetworkContentSocketHandler::SelectAll() |
no test coverage detected