Searched refs:theApp (Results 51 - 75 of 80) sorted by relevance

1234

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/
H A DChatSelector.cpp33 #include "amule.h" // Needed for theApp
64 theApp->clientlist->SetChatState(m_client_id,MS_NONE);
247 if (theApp->clientlist->SendChatMessage(ci->m_client_id, message)) {
355 clientref.Link(theApp->clientlist->FindClientByIP(IP_FROM_GUI_ID(ci->m_client_id), PORT_FROM_GUI_ID(ci->m_client_id)) CLIENT_DEBUGSTRING("CChatSelector::GetCurrentClient"));
H A DKnownFile.cpp49 #include "amule.h" // Needed for theApp
79 theApp->knownfiles->requested++;
80 theApp->sharedfiles->UpdateItem(fileParent);
86 theApp->knownfiles->accepted++;
87 theApp->sharedfiles->UpdateItem(fileParent);
93 theApp->knownfiles->transferred += bytes;
94 theApp->sharedfiles->UpdateItem(fileParent);
1117 if (theApp->IsConnectedED2K() && !::IsLowID(theApp->GetED2KID())){
1118 nClientID = theApp
[all...]
H A DSearchDlg.cpp39 #include "amule.h" // Needed for theApp
242 theApp->searchlist->RemoveResults(ctrl->GetSearchId());
317 theApp->amuledlg->LaunchUrl(theApp->amuledlg->GenWebSearchUrl(searchString, CamuleDlg::WS_FILEHASH));
416 theApp->searchlist->StopSearch();
563 wxString error = theApp->searchlist->StartNewSearch(&real_id, search_type, params);
628 for ( unsigned i = 1; i < theApp->glob_prefs->GetCatCount(); i++ ) {
629 c_cat->Append( theApp->glob_prefs->GetCategory( i )->title );
H A DThreadTasks.cpp34 #include "amule.h" // Needed for theApp
35 #include "KnownFileList.h" // Needed for theApp->knownfiles
248 theApp->knownfiles->Save();
273 const CPath fullpath = CPath(theApp->ConfigDir + KNOWN2_MET_FILENAME);
329 theApp->sharedfiles->CheckAICHHashes(hashlist);
338 const CPath oldfullpath = CPath(theApp->ConfigDir + OLD_KNOWN2_MET_FILENAME);
339 const CPath newfullpath = CPath(theApp->ConfigDir + KNOWN2_MET_FILENAME);
428 targetPath = theApp->glob_prefs->GetCategory(m_category)->path;
H A DSearchFile.cpp30 #include "amule.h" // Needed for theApp
305 bool isPart = theApp->downloadqueue->GetFileByID(m_abyFileHash) != NULL;
306 bool isKnown = theApp->knownfiles->FindKnownFileByID(m_abyFileHash) != NULL;
307 bool isCanceled = theApp->canceledfiles->IsCanceledFile(m_abyFileHash);
H A DPartFileConvert.cpp216 theApp->sharedfiles->PublishNextTurn();
264 if (theApp->downloadqueue->GetFileByID(file->GetFileHash())) {
438 theApp->downloadqueue->AddDownload(file, thePrefs::AddNewFilesPaused(), 0);
442 theApp->sharedfiles->SafeAddKFile(file); // part files are always shared files
H A DDownloadClient.cpp46 #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
[all...]
H A DOScopeCtrl.cpp33 #include "amule.h" // Needed for theApp
455 cntFilled = theApp->m_statistics->GetHistory(cntPoints, sLastPeriod, sFinal, apf, graph_type);
550 if( !theApp->amuledlg || !theApp->amuledlg->SafeState()) {
H A DFileDetailDialog.cpp36 #include "amule.h" // Needed for theApp
66 theApp->m_FileDetailDialogActive++;
78 theApp->m_FileDetailDialogActive = 0;
281 if (theApp->sharedfiles->RenameFile(m_file, fileName)) {
H A DClientRef.cpp27 #include "amule.h" // Needed fot theApp
190 if (theApp->CryptoAvailable()) {
H A DPreferences.cpp64 #include "SharedFileList.h" // Needed for theApp->sharedfiles->Reload()
768 InitLocale(tmpLocale, theApp->m_locale.GetLanguage());
853 wxString dirName(JoinPaths(GetConfigDir(theApp->m_configFile), folder));
929 wxString fullpath(theApp->ConfigDir + wxT("preferences.dat"));
962 if (slistfile.Open(theApp->ConfigDir + wxT("addresses.dat"), CTextFile::read)) {
1455 wxString fullpath(theApp->ConfigDir + wxT("preferences.dat"));
1475 if (sdirfile.Open(theApp->ConfigDir + wxT("shareddir.dat"), CTextFile::write)) {
1627 theApp->sharedfiles->Reload();
1693 theApp->sharedfiles->Reload();
1734 theApp
[all...]
H A DEncryptedDatagramSocket.cpp266 wxASSERT(theApp->GetPublicIP() != 0 || kad);
303 PokeUInt32(keyData+16, theApp->GetPublicIP());
H A DGenericClientListCtrl.cpp30 #include "amule.h" // Needed for theApp
96 #define m_ImageList theApp->amuledlg->m_imagelist
511 theApp->friendlist->RemoveFriend(client.GetFriend());
513 theApp->friendlist->AddFriend(client);
526 theApp->friendlist->SetFriendSlot(client.GetFriend(), evt.IsChecked());
550 theApp->amuledlg->m_chatwnd->SendMessage(message, userName, userID);
643 if ( !theApp->amuledlg->IsDialogVisible( GetParentDialog() ) ) {
838 if (theApp->amuledlg->m_IP2Country->IsEnabled() && thePrefs::IsGeoIPEnabled()) {
840 const CountryData& countrydata = theApp->amuledlg->m_IP2Country->GetCountryData(client.GetFullIP());
H A DClientList.cpp34 #include "amule.h" // Needed for theApp
661 if( m_pBuddy.GetClient() == cur_client && theApp->IsFirewalled() && cur_client->SendBuddyPingPong() ) {
674 if( Kademlia::CKademlia::IsRunning() && theApp->IsFirewalled() && Kademlia::CUDPFirewallTester::IsFirewalledUDP(true) ) {
762 if ( theApp->ipfilter->IsFiltered(client->GetConnectIP())) {
848 if (theApp->GetPublicIP() == nContactIP && thePrefs::GetPort() == contact->GetTCPPort()) {
880 if (theApp->GetPublicIP() == nContactIP && thePrefs::GetPort() == contact->GetTCPPort()) {
918 if (theApp->GetPublicIP() == nContactIP && thePrefs::GetPort() == contact->GetTCPPort()) {
H A DEncryptedStreamSocket.cpp282 if (thePrefs::IsClientCryptLayerRequiredStrict() || (!theApp->serverconnect->AwaitingTestFromIP(ip)
283 && !theApp->clientlist->IsKadFirewallCheckIP(ip)) )
550 const uint8_t byPaddingLen = theApp->serverconnect->AwaitingTestFromIP(StringIPtoUint32(address.IPAddress())) ? 16 : (thePrefs::GetCryptTCPPaddingLength() + 1);
H A Damule.h403 extern CamuleGuiApp *theApp;
549 extern CamuleDaemonApp *theApp;
H A DStatistics.cpp52 #include "amule.h" // Needed for theApp
314 if (f.Open(JoinPaths(theApp->ConfigDir, wxT("statistics.dat")))) {
348 if (f.Open(JoinPaths(theApp->ConfigDir, wxT("statistics.dat")), CFile::write)) {
827 s_avgConnections->SetValue(theApp->listensocket->GetAverageConnections());
837 theApp->serverlist->GetStatus(servfail, servuser, servfile, servtuser, servtfile, servocc);
1064 theApp->AddRemoteLogLine(it->GetStringData());
H A DLogger.cpp267 theApp->AddGuiLogLine(line);
H A DDirectoryTreeCtrl.cpp35 #include "amule.h" // Needed for theApp
68 m_IsRemote = !theApp->m_connect->IsConnectedToLocalHost();
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/kademlia/kademlia/
H A DSearch.cpp115 CPartFile* temp = theApp->downloadqueue->GetFileByKadFileSearchID(GetSearchID());
470 CKnownFile *file = theApp->downloadqueue->GetFileByID(CMD4Hash(fileid));
542 CKnownFile *file = theApp->sharedfiles->GetFileByID(CMD4Hash(fileid));
578 CKnownFile* file = theApp->sharedfiles->GetFileByID(CMD4Hash(fileid));
596 if (theApp->IsFirewalled()) {
609 } else if (theApp->clientlist->GetBuddy()) { // We are firewalled, make sure we have a buddy.
614 taglist.push_back(new CTagVarInt(TAG_SERVERIP, theApp->clientlist->GetBuddy()->GetIP()));
615 taglist.push_back(new CTagVarInt(TAG_SERVERPORT, theApp->clientlist->GetBuddy()->GetUDPPort()));
683 CKnownFile *pFile = theApp->sharedfiles->GetFileByID(CMD4Hash(fileid));
720 CKnownFile* file = theApp
[all...]
H A DKademlia.cpp169 // theApp->ShowConnectionState();
278 theApp->ShowUserCount();
477 theApp->ShowConnectionState();
483 theApp->ShowConnectionState();
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/kademlia/routing/
H A DRoutingZone.cpp87 m_filename = theApp->ConfigDir + wxT("nodes.dat");
196 if (!theApp->ipfilter->IsFiltered(wxUINT32_SWAP_ALWAYS(ip)) &&
253 if (!theApp->ipfilter->IsFiltered(wxUINT32_SWAP_ALWAYS(ip)) &&
408 if (!theApp->ipfilter->IsFiltered(wxUINT32_SWAP_ALWAYS(ip)) && !(port == 53 && version <= 5) /*No DNS Port without encryption*/) {
444 if (contactUpdate->GetUDPKey().GetKeyValue(theApp->GetPublicIP(false)) != 0 && contactUpdate->GetUDPKey().GetKeyValue(theApp->GetPublicIP(false)) != contact->GetUDPKey().GetKeyValue(theApp->GetPublicIP(false))) {
449 AddDebugLogLineN(logKadRouting, wxT("Sender (") + KadIPToString(contact->GetIPAddress()) + wxT(") tried to update contact entry but failed to provide the proper sender key (Sent Empty: ") + (contact->GetUDPKey().GetKeyValue(theApp->GetPublicIP(false)) == 0 ? wxT("Yes") : wxT("No")) + wxT(") for the entry (") + KadIPToString(contactUpdate->GetIPAddress()) + wxT(") - denying update"));
469 if (contact->GetUDPKey().GetKeyValue(theApp->GetPublicIP(false)) == 0) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/kademlia/net/
H A DKademliaUDPListener.cpp182 theApp->clientlist->AddKadFirewallRequest(wxUINT32_SWAP_ALWAYS(ip));
230 theApp->ShowConnectionState();
733 if (!theApp->ipfilter->IsFiltered(hostIP) && !(contactPort == 53 && version <= 5) /*No DNS Port without encryption*/) {
1361 if (!theApp->clientlist->RequestTCP(&contact, 0)) {
1386 if (!theApp->clientlist->RequestTCP(&contact, connectOptions)) {
1404 if (!theApp->clientlist->IsKadFirewallCheckIP(wxUINT32_SWAP_ALWAYS(ip))) { /* KADEMLIA_FIREWALLED2_REQ + KADEMLIA_FIREWALLED_REQ */
1414 theApp->ShowConnectionState();
1442 } else if (theApp->clientlist->GetBuddyStatus() == Connected) {
1454 if (!theApp->clientlist->IncomingBuddy(&contact, &BuddyID)) {
1492 theApp
[all...]
H A DPacketTracking.cpp215 theApp->clientlist->AddBannedClient(wxUINT32_SWAP_ALWAYS(ip));
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/samples/mfc/
H A Dmfctest.cpp69 // theApp:
72 CTheApp theApp; variable

Completed in 202 milliseconds

1234