• 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

47 #include "amule.h"			// Needed for theApp
69 bool bRes = LoadServerMet(CPath(theApp->ConfigDir + wxT("server.met")));
72 m_staticServersConfig = theApp->ConfigDir + wxT("staticservers.dat");
154 if ( !theApp->AddServer(newserver) ) {
208 theApp->ipfilter->IsReady()
209 && theApp->ipfilter->IsFiltered(in_server->GetIP(), true))
266 if (theApp->IsConnectedED2K() && m_servers.size() > 0) {
287 if (!ping_server->GetCryptPingReplyPending() && (!ping_server->GetLastPingedTime() || (tNow - ping_server->GetLastPingedTime()) >= UDPSERVSTATREASKTIME) && theApp->GetPublicIP() && thePrefs::IsServerCryptLayerUDPEnabled()) {
313 theApp->serverconnect->SendUDPPacket(packet, ping_server, true, true /*raw packet*/, 12 /* Port offset is 12 for obfuscated encryption*/);
314 } else if (ping_server->GetCryptPingReplyPending() || theApp->GetPublicIP() == 0 || !thePrefs::IsServerCryptLayerUDPEnabled()){
334 theApp->serverconnect->SendUDPPacket(packet, ping_server, true);
344 if (in_server == theApp->serverconnect->GetCurrentServer()) {
345 theApp->ShowAlert(_("You are connected to the server you are trying to delete. please disconnect first."), _("Info"), wxOK);
349 if (theApp->downloadqueue->GetUDPServer() == in_server) {
350 theApp->downloadqueue->SetUDPServer( 0 );
499 if ( !theApp->AddServer( server ) ) {
681 CPath curservermet = CPath(theApp->ConfigDir + wxT("server.met"));
801 const CPath oldservermet = CPath(theApp->ConfigDir + wxT("server.met.bak"));
836 wxString strTempFilename(theApp->ConfigDir + wxT("server.met.download"));
837 CHTTPDownloadThread *downloader = new CHTTPDownloadThread(strURL, strTempFilename, theApp->ConfigDir + wxT("server.met"), HTTP_ServerMet, false, false);
846 const CPath tempFilename = CPath(theApp->ConfigDir + wxT("server.met.download"));
866 uint8 url_count = theApp->glob_prefs->adresses_list.GetCount();
874 wxString URI = theApp->glob_prefs->adresses_list[current_url_index];
880 theApp->ConfigDir + wxT("server_auto.met");
884 URI, strTempFilename, theApp->ConfigDir + wxT("server.met"), HTTP_ServerMetAuto, false, false);
902 CPath tempFilename = CPath(theApp->ConfigDir + wxT("server_auto.met"));
916 if (current_url_index < theApp->glob_prefs->adresses_list.GetCount()) {
983 if (theApp->ipfilter->IsFiltered(server->GetIP(), true)) {
984 if (server == theApp->serverconnect->GetCurrentServer()) {
986 theApp->serverconnect->Disconnect();
988 theApp->serverconnect->ConnectToAnyServer();
1005 const uint32 dwIP = theApp->GetPublicIP();