Lines Matching refs:theApp
35 #include "amule.h" // Needed for theApp
36 #include "ServerConnect.h" // Needed for theApp->serverconnect
38 #include "ServerList.h" // Needed for theApp->serverlist
293 } else if ((type != KadSearch) && !theApp->IsConnectedED2K()) {
309 bool supports64bit = type == KadSearch ? true : theApp->serverconnect->GetCurrentServer() != NULL && (theApp->serverconnect->GetCurrentServer()->GetTCPFlags() & SRV_TCPFLG_LARGEFILES);
353 theApp->serverconnect->SendPacket(searchPacket, (type == LocalSearch));
373 theApp->serverlist->RemoveObserver(&m_serverQueue);
400 / theApp->serverlist->GetServerCount();
416 theApp->serverlist->AddObserver(&m_serverQueue);
420 const CServer* localServer = theApp->serverconnect->GetCurrentServer();
442 theApp->serverconnect->SendUDPPacket(extSearchPacket, server, true);
449 theApp->serverconnect->SendUDPPacket(m_searchPacket, server, false);
458 theApp->serverconnect->SendUDPPacket(m_searchPacket, server, false);
481 if (!theApp->amuledlg->m_searchwnd->CheckTabNameExists(sender->GetUserName())) {
482 theApp->amuledlg->m_searchwnd->CreateNewTab(sender->GetUserName() + wxT(" (0)"), searchID);