Lines Matching refs:theApp
46 #include "amule.h" // Needed for theApp
142 if (theApp->listensocket->TooManySockets()) {
904 credits->AddDownloaded(size - header_size, GetIP(), theApp->CryptoAvailable());
1251 theApp->downloadqueue->RemoveSource(this);
1282 if (m_nUDPPort != 0 && !theApp->IsFirewalled() && !IsConnected()) {
1309 theApp->clientudp->SendPacket(response,GetConnectIP(),GetUDPPort(), ShouldReceiveCryptUDPPackets(), GetUserHash().GetHash(), false, 0);
1334 theApp->clientudp->SendPacket(response, GetBuddyIP(), GetBuddyPort(), false, NULL, true, 0 );
1631 CPartFile* pPartFile = theApp->downloadqueue->GetFileByID(hash);
1670 CKnownFile* pKnownFile = theApp->sharedfiles->GetFileByID(hash);
1714 pPartFile = theApp->downloadqueue->GetFileByID(data->ReadHash());