| 210 | |
| 211 | |
| 212 | void CFriendList::RequestSharedFileList(CFriend* cur_friend) |
| 213 | { |
| 214 | if (cur_friend) { |
| 215 | CUpDownClient* client = cur_friend->GetLinkedClient().GetClient(); |
| 216 | if (!client) { |
| 217 | client = new CUpDownClient(cur_friend->GetPort(), cur_friend->GetIP(), 0, 0, 0, true, true); |
| 218 | client->SetUserName(cur_friend->GetName()); |
| 219 | theApp->clientlist->AddClient(client); |
| 220 | cur_friend->LinkClient(CCLIENTREF(client, "CFriendList::RequestSharedFileList")); |
| 221 | } |
| 222 | client->RequestSharedFileList(); |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | |
| 227 | void CFriendList::SetFriendSlot(CFriend* Friend, bool new_state) |
no test coverage detected