MCPcopy Create free account
hub / github.com/amule-project/amule / OnViewFiles

Method OnViewFiles

src/FriendListCtrl.cpp:213–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211
212
213void CFriendListCtrl::OnViewFiles(wxCommandEvent& WXUNUSED(event))
214{
215 long index = GetNextItem( -1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED );
216
217 while( index != -1 ) {
218 CFriend* cur_friend = reinterpret_cast<CFriend*>(GetItemData(index));
219 theApp->friendlist->RequestSharedFileList(cur_friend);
220 index = GetNextItem( index, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED );
221 }
222
223}
224
225
226void CFriendListCtrl::OnSetFriendslot(wxCommandEvent& event)

Callers

nothing calls this directly

Calls 1

RequestSharedFileListMethod · 0.45

Tested by

no test coverage detected