MCPcopy Create free account
hub / github.com/RetroShare/RetroShare / foreach

Function foreach

plugins/VOIP/gui/VOIPGUIHandler.cpp:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 const QList<ChatWidgetHolder*> &chatWidgetHolderList = cw->chatWidgetHolderList();
41
42 foreach (ChatWidgetHolder *chatWidgetHolder, chatWidgetHolderList)
43 {
44 VOIPChatWidgetHolder *acwh = dynamic_cast<VOIPChatWidgetHolder*>(chatWidgetHolder) ;
45
46 if (acwh)
47 acwh->ReceivedInvitation(peer_id, flags);
48 }
49 }
50 } else {
51 std::cerr << "VOIPGUIHandler::ReceivedInvitation() Error: received invitaion call for a chat dialog that does not stand VOIP (Peer id = " << peer_id.toStdString() << "!" << std::endl;

Callers

nothing calls this directly

Calls 11

addAudioDataMethod · 0.80
addVideoDataMethod · 0.80
setAcceptedBandwidthMethod · 0.80
startAudioCaptureMethod · 0.80
startVideoCaptureMethod · 0.80
hangupCallAudioMethod · 0.80
hangupCallVideoMethod · 0.80
ReceivedInvitationMethod · 0.45
ReceivedVoipHangUpMethod · 0.45
ReceivedVoipAcceptMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected