/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/ |
H A D | ServerUDPSocket.cpp | 40 #include "amule.h" // Needed for theApp 69 CServer* pServer = theApp->serverlist->GetServerByIPUDP(serverip, serverport, true); 106 CServer* update = theApp->serverlist->GetServerByIPUDP(ip, port, true); 124 theApp->searchlist->ProcessUDPSearchAnswer(packet, true, ip, port - 4); 149 if (CPartFile* file = theApp->downloadqueue->GetFileByID(fileid)) { 246 theApp->serverconnect->SendUDPPacket(sendpacket, update, true); 251 theApp->ShowUserCount(); 341 CServer* pServer = theApp->serverlist->GetServerByIPUDP(ip, port, true); 412 CServer* update = theApp->serverlist->GetServerByAddress(item.addr, item.port); 416 CAsyncDNS* dns = new CAsyncDNS(item.addr, DNS_UDP, theApp, thi [all...] |
H A D | amule-remote-gui.cpp | 71 wxDialog(theApp->amuledlg, -1, _("Connect to remote amule"), wxDefaultPosition) 239 // Get theApp 240 theApp = &wxGetApp(); 581 theApp->glob_prefs->AddCat(cat); 588 theApp->glob_prefs->AddCat(cat); 591 theApp->AddPendingEvent(event); 628 if (catTag && pathTag && catTag->GetInt() < theApp->glob_prefs->GetCatCount()) { 630 Category_Struct* cs = theApp->glob_prefs->GetCategory(cat); 635 theApp->amuledlg->m_transferwnd->UpdateCategory(cat); 636 theApp 2217 CamuleRemoteGuiApp *theApp; variable [all...] |
H A D | CanceledFileList.cpp | 46 CPath fullpath = CPath(theApp->ConfigDir + m_filename); 90 CFile file(theApp->ConfigDir + m_filename, CFile::write);
|
H A D | FriendListCtrl.cpp | 32 #include "amule.h" // Needed for theApp 111 theApp->amuledlg->m_chatwnd->StartSession(cur_friend); 154 theApp->amuledlg->m_chatwnd->StartSession(cur_friend); 157 theApp->friendlist->StartChatSession(cur_friend); 179 theApp->friendlist->RemoveFriend(cur_friend); 214 theApp->friendlist->RequestSharedFileList(cur_friend); 226 theApp->friendlist->SetFriendSlot(cur_friend, event.IsChecked());
|
H A D | amule.cpp | 123 CamuleDaemonApp *theApp; variable 125 CamuleGuiApp *theApp; variable 165 theApp->ExitMainLoop(); 179 theApp = &wxGetApp(); 529 theApp->ConfigDir + wxT("last_version_check"), theApp->ConfigDir + wxT("last_version"), HTTP_VersionCheck, false, false); 583 static_cast<wxWindow*>(theApp->amuledlg))) 609 theApp->amuledlg->EnableIP2Country(); 1177 //theApp->clientcredits->Process(); 1358 if (theApp [all...] |
H A D | ECSpecialCoreTags.cpp | 125 (theApp->IsConnectedED2K() ? 0x01 : 0x00) 127 (theApp->serverconnect->IsConnecting() ? 0x02 : 0x00) 129 (theApp->IsConnectedKad() ? 0x04 : 0x00) 136 if (theApp->IsConnectedED2K()) { 137 if ( theApp->serverconnect->GetCurrentServer() ) { 140 AddTag(CECTag(EC_TAG_SERVER, theApp->serverconnect->GetCurrentServer()->ECID())); 142 AddTag(CEC_Server_Tag(theApp->serverconnect->GetCurrentServer(), detail_level)); 145 AddTag(CECTag(EC_TAG_ED2K_ID, theApp->GetED2KID())); 146 } else if (theApp->serverconnect->IsConnecting()) { 150 AddTag(CECTag(EC_TAG_CLIENT_ID, theApp [all...] |
H A D | SharedFileList.cpp | 41 #include "amule.h" // Needed for theApp 312 if(theApp->IsOnShutDown()) { 320 theApp->glob_prefs->ReloadSharedFolders(); 328 for ( uint32 i = 0; i < theApp->downloadqueue->GetFileCount(); ++i ) { 329 CPartFile* file = theApp->downloadqueue->GetFileByIndex( i ); 343 for (unsigned int i = 1;i < theApp->glob_prefs->GetCatCount(); ++i) { 344 sharedPaths.push_back(theApp->glob_prefs->GetCatPath(i)); 347 const thePrefs::PathList& shared = theApp->glob_prefs->shareddir_list; 403 } else if (CheckDirectory(theApp->ConfigDir, directory)) { 513 if (!bOnlyAdd && theApp [all...] |
H A D | SharedFilesCtrl.cpp | 36 #include "amule.h" // Needed for theApp 200 feed = CFormat(_("Feedback from: %s (%s)\n\n")) % thePrefs::GetUserNick() % theApp->GetFullMuleVersion(); 209 theApp->CopyTextToClipboard(feed); 220 theApp->sharedfiles->CopyFileList(files); 313 if ( !( (theApp->IsConnectedED2K() && !theApp->serverconnect->IsLowID()) 314 || (theApp->IsConnectedKad() && !theApp->IsFirewalledKad() ))) { 326 case MP_GETMAGNETLINK: URIs += theApp->CreateMagnetLink( file ) + wxT("\n"); break; 327 case MP_GETED2KLINK: URIs += theApp [all...] |
H A D | CorruptionBlackBox.cpp | 31 #include "amule.h" // needed for theApp 210 CUpDownClient* pEvilClient = theApp->clientlist->FindClientByIP(ip); 216 theApp->clientlist->AddTrackClient(pEvilClient); 225 theApp->clientlist->AddBannedClient(ip); 230 CUpDownClient* pSuspectClient = theApp->clientlist->FindClientByIP(ip); 234 theApp->clientlist->AddTrackClient(pSuspectClient);
|
H A D | SharedFilesWnd.cpp | 36 #include "amule.h" // Needed for theApp 37 #include "UploadQueue.h" // Needed for theApp->uploadqueue 109 uint64 lTransferred = theApp->knownfiles->transferred; 110 uint32 lAccepted = theApp->knownfiles->accepted; 111 uint32 lRequested = theApp->knownfiles->requested; 198 fileVector.push_back(theApp->m_allUploadingKnownFile); 200 fileVector.push_back(theApp->uploadqueue->GetAllUploadingKnownFile()); 213 theApp->sharedfiles->Reload();
|
H A D | amuleAppCommon.cpp | 27 // but preprocessor-dependent (using theApp, thePrefs), so it is compiled seperately for each app. 122 theApp->downloadqueue->AddLink(line, category); 132 wxRemoveFile(theApp->ConfigDir + wxT("ED2KLinks")); 158 if (add_source && theApp->IsConnected() && !theApp->IsFirewalled()) { 164 uint32 clientID = theApp->GetID(); 214 theApp->SetAppName(wxT("aMule")); 536 if (theApp->ShowAlert(msg, wxT("Error accessing directory."), wxICON_ERROR | wxOK | wxCANCEL) == wxCANCEL) { 544 theApp->ShowAlert(msg, wxT("Fatal error."), wxICON_ERROR | wxOK);
|
H A D | AddFriend.cpp | 29 #include "amule.h" // Needed for theApp 76 theApp->friendlist->AddFriend(userhash, ip, port, name);
|
H A D | ChatWnd.cpp | 32 #include "amule.h" // Needed for theApp 77 theApp->amuledlg->SetActiveDialog(CamuleDlg::DT_CHAT_WND, this); 153 theApp->friendlist->AddFriend(client); 201 if ( !theApp->amuledlg->IsDialogVisible(CamuleDlg::DT_CHAT_WND) ) { 202 theApp->amuledlg->SetMessageBlink(true);
|
H A D | FriendList.cpp | 31 #include "amule.h" // Needed for theApp: let it first or fail under win32 103 CPath metfile = CPath(theApp->ConfigDir + wxT("emfriends.met")); 136 if (file.Create(theApp->ConfigDir + wxT("emfriends.met"), true)) { 218 theApp->clientlist->AddClient(client); 244 theApp->clientlist->AddClient(client);
|
H A D | KnownFileList.cpp | 77 CPath fullpath = CPath(theApp->ConfigDir + m_filename); 125 CFile file(theApp->ConfigDir + m_filename, CFile::write_safe); 261 theApp->searchlist->UpdateSearchFileByHash(toadd->GetFileHash()); 303 if (theApp->sharedfiles) { 305 theApp->sharedfiles->RemoveKeywords(existing);
|
H A D | PartFile.cpp | 60 #include "amule.h" // Needed for theApp 314 SetActive(theApp->IsConnected()); 432 if (m_category > theApp->glob_prefs->GetCatCount() - 1 ) { 917 theApp->ShowAlert( CFormat( _("Could not retrieve length of '%s' - using %s file.") ) 925 theApp->ShowAlert( CFormat( _("'%s' is 0 size somehow - using %s file.") ) 1218 theApp->sharedfiles->SafeAddKFile(this); 1407 if (cur_src->HasLowID() && !theApp->CanDoCallback(cur_src->GetServerIP(), cur_src->GetServerPort())) { 1461 if ( theApp->IsConnected() && 1474 if ( theApp->IsConnected() && 1513 if (theApp [all...] |
H A D | EMSocket.cpp | 114 if (theApp->uploadBandwidthThrottler) { 115 theApp->uploadBandwidthThrottler->RemoveFromAllQueues(this); 178 theApp->uploadBandwidthThrottler->RemoveFromAllQueues(this); 357 theApp->uploadBandwidthThrottler->QueueForSendingControlPacket(this, HasSent()); 433 theApp->uploadBandwidthThrottler->QueueForSendingControlPacket(this, HasSent()); 636 theApp->uploadBandwidthThrottler->QueueForSendingControlPacket(this, HasSent());
|
H A D | SearchList.cpp | 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 [all...] |
H A D | SearchListCtrl.cpp | 30 #include "amule.h" // Needed for theApp 370 const CSearchResultList& list = theApp->searchlist->GetSearchResults(ResultsID); 629 for (unsigned i = 1; i < theApp->glob_prefs->GetCatCount(); i++) { 631 theApp->glob_prefs->GetCategory(i)->title); 657 menu.Enable(MP_MENU_CATS, (theApp->glob_prefs->GetCatCount() > 1)); 690 URIs += theApp->CreateED2kLink( file ) + wxT("\n"); 696 theApp->CopyTextToClipboard( URIs.RemoveLast() ); 709 theApp->amuledlg->LaunchUrl(thePrefs::GetStatsServerURL() + file->GetFileHash().Encode()); 721 theApp->searchlist->StopSearch(true); 722 theApp [all...] |
H A D | ECSpecialMuleTags.cpp | 36 Category_Struct *cat = theApp->glob_prefs->GetCategory(cat_index); 63 bool ret = theApp->glob_prefs->UpdateCategory(GetInt(), Name(), CPath(Path()), Comment(), Color(), Prio()); 65 GetTagByName(EC_TAG_CATEGORY_PATH)->SetStringData(theApp->glob_prefs->GetCatPath(GetInt()).GetRaw()); 73 bool ret = theApp->glob_prefs->CreateCategory(category, Name(), CPath(Path()), Comment(), Color(), Prio()); 75 GetTagByName(EC_TAG_CATEGORY_PATH)->SetStringData(theApp->glob_prefs->GetCatPath( 76 theApp->glob_prefs->GetCatCount() - 1).GetRaw()); 84 if (theApp->glob_prefs->GetCatCount() > 1) { 86 for (unsigned int i = 0; i < theApp->glob_prefs->GetCatCount(); ++i) { 284 uint32 sharedDirs = theApp->glob_prefs->shareddir_list.size(); 287 dirtag.AddTag(CECTag(EC_TAG_STRING, theApp [all...] |
H A D | DownloadListCtrl.cpp | 32 #include "amule.h" // Needed for theApp 79 #define m_ImageList theApp->amuledlg->m_imagelist 491 theApp->amuledlg->m_transferwnd->UpdateCatTabTitles(); 535 URIs += theApp->CreateED2kLink( file ) + wxT("\n"); 537 URIs += theApp->CreateMagnetLink( file ) + wxT("\n"); 542 theApp->CopyTextToClipboard( URIs.BeforeLast(wxT('\n')) ); 554 feed = CFormat(_("Feedback from: %s (%s)\n\n")) % thePrefs::GetUserNick() % theApp->GetFullMuleVersion(); 562 theApp->CopyTextToClipboard(feed); 629 theApp->amuledlg->m_transferwnd->clientlistctrl->ShowSources(filesVector); 694 if (theApp [all...] |
H A D | Server.cpp | 302 if ((m_dwIPServerKeyUDP != 0 && m_dwIPServerKeyUDP == theApp->GetPublicIP()) || bForce) { 311 wxASSERT( theApp->GetPublicIP() != 0 || dwServerKeyUDP == 0 ); 313 m_dwIPServerKeyUDP = theApp->GetPublicIP();
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ncftp-3.2.5/source/win/bmed/ |
H A D | bmedDlg.cpp | 189 theApp.SetSelectedBookmark(bmp->bookmarkName); 217 theApp.SetDirty(); 237 theApp.SetDirty(); 268 theApp.SetDirty(); 303 theApp.SetDirty();
|
H A D | bmed.cpp | 48 CBmedApp theApp; variable
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/kademlia/kademlia/ |
H A D | Prefs.cpp | 63 Init(theApp->ConfigDir + wxT("preferencesKad.dat")); 182 theApp->ShowConnectionState(); 188 theApp->ShowConnectionState(); 196 uint32_t nServerAverage = theApp->serverlist->GetAvgFile(); 228 return (callback && theApp->IsFirewalled() && CKademlia::IsRunning() && !CUDPFirewallTester::IsFirewalledUDP(true) && CUDPFirewallTester::IsVerified()) ? 0x08 : 0
|