• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/

Lines Matching refs:theApp

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->downloadqueue->DoKademliaFileRequest() && (Kademlia::CKademlia::GetTotalFile() < KADEMLIATOTALFILE) && (dwCurTick > m_LastSearchTimeKad) && Kademlia::CKademlia::IsConnected() && theApp->IsConnected() && !IsStopped()){
1515 theApp->downloadqueue->SetLastKademliaFileRequest();
1545 theApp->IsConnectedED2K() &&
1549 theApp->downloadqueue->SendLocalSrcRequest(this);
1593 if (theApp->IsConnectedED2K()) {
1594 if(::IsLowID(theApp->GetED2KID())) {
1595 if(theApp->GetED2KID() == userid && theApp->serverconnect->GetCurrentServer()->GetIP() == serverip && theApp->serverconnect->GetCurrentServer()->GetPort() == serverport ) {
1598 if(theApp->GetPublicIP() == userid) {
1602 if(theApp->GetED2KID() == userid && thePrefs::GetPort() == port) {
1617 if ( IsLowID(hybridID) && theApp->IsFirewalled()) {
1667 if (theApp->ipfilter->IsFiltered(userid)) {
1687 theApp->downloadqueue->CheckAndAddSource(this,newsource);
2092 theApp->downloadqueue->RemoveLocalServerRequest(this);
2142 if (theApp->canceledfiles->Remove(GetFileHash())) {
2143 theApp->canceledfiles->Save();
2148 theApp->knownfiles->SafeAddKFile(this);
2151 theApp->uploadqueue->ResumeUpload(GetFileHash());
2152 theApp->downloadqueue->RemoveFile(this, true);
2153 theApp->sharedfiles->SafeAddKFile(this);
2157 theApp->sharedfiles->RepublishFile(this);
2168 theApp->downloadqueue->StartNextFile(this);
2175 theApp->uploadqueue->SuspendUpload(GetFileHash(), false);
2230 theApp->uploadqueue->SuspendUpload(GetFileHash(), true);
2232 theApp->sharedfiles->RemoveFile(this);
2234 theApp->downloadqueue->RemoveFile(this);
2238 if (theApp->canceledfiles->Add(GetFileHash())) {
2239 theApp->canceledfiles->Save();
2242 theApp->searchlist->UpdateSearchFileByHash(GetFileHash()); // Update file in the search dialog if it's still open
2410 theApp->downloadqueue->RemoveLocalServerRequest(this);
2457 SetActive(theApp->IsConnected());
2782 if (theApp->ipfilter->IsFiltered(dwIDED2K)) {
2786 if (theApp->clientlist->IsBannedClient(dwIDED2K)){
2808 theApp->downloadqueue->CheckAndAddSource(this,newsource);
2821 if (GetSourceCount() <= theApp->downloadqueue->GetRareFileThreshold()) {
2824 } else if (GetSourceCount() < theApp->downloadqueue->GetCommonFileThreshold()) {
3064 if (theApp->IsRunning()) { // may be called during shutdown!
3068 theApp->sharedfiles->SafeAddKFile(this);
3099 if (theApp->IsRunning()) // may be called during shutdown!
3100 theApp->sharedfiles->SafeAddKFile(this);
3110 if (theApp->IsRunning()) { // may be called during shutdown!
3178 wxASSERT( cat < theApp->glob_prefs->GetCatCount() );
3188 bool result = theApp->downloadqueue->RemoveSource( toremove, updatewindow, bDoStatsUpdate );
3247 if (theApp->IsRunning()) {
3418 if (status == PS_EMPTY && theApp->IsRunning()) {
3422 theApp->sharedfiles->SafeAddKFile(this);
3426 if (theApp->IsRunning()) {
3870 if (theApp->IsConnected()) {
3931 CKnownFile* pFile = theApp->sharedfiles->GetFileByID(GetFileHash());
3938 theApp->sharedfiles->RemoveKeywords(this);
3945 theApp->sharedfiles->AddKeywords(this);