• 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:thePrefs

408 	if (CheckMuleDirectory(wxT("temp"), thePrefs::GetTempDir(), ConfigDir + wxT("Temp"), outDir)) {
409 thePrefs::SetTempDir(outDir);
414 if (CheckMuleDirectory(wxT("incoming"), thePrefs::GetIncomingDir(), ConfigDir + wxT("Incoming"), outDir)) {
415 thePrefs::SetIncomingDir(outDir);
421 if (!thePrefs::UseTrayIcon()) {
422 thePrefs::SetMinToTray(false);
426 SetOSFiles(thePrefs::GetOSDir().GetRaw());
436 thePrefs::SetECPass(GetPassword());
437 thePrefs::EnableExternalConnections(true);
493 wxString langId = thePrefs::GetLanguageID();
496 thePrefs::SetLanguageID(wxLang2Str(wxLANGUAGE_DEFAULT));
525 if (thePrefs::GetCheckNewVersion()) {
558 if (thePrefs::GetNetworkED2K()) {
561 downloadqueue->LoadMetFiles(thePrefs::GetTempDir());
573 if (!serverlist->GetServerCount() && thePrefs::GetNetworkED2K()) {
596 if (thePrefs::DoAutoConnect()) {
599 if (thePrefs::GetNetworkED2K()) {
602 if (thePrefs::GetNetworkKademlia()) {
613 if (thePrefs::GetWSIsEnabled()) {
615 wxString amulewebPath = thePrefs::GetWSPath();
677 if (thePrefs::ECPort() == thePrefs::GetPort()) {
679 uint16 port = thePrefs::ECPort();
680 while ( port < 1024 || port == thePrefs::GetPort() ) {
683 thePrefs::SetECPort( port );
699 if (thePrefs::GetUDPPort() == thePrefs::GetPort() + 3) {
701 uint16 port = thePrefs::GetUDPPort();
702 while ( port < 1024 || port == thePrefs::GetPort() + 3 ) {
705 thePrefs::SetUDPPort( port );
729 if (thePrefs::GetECAddress().IsEmpty() || !myaddr[0].Hostname(thePrefs::GetECAddress())) {
732 myaddr[0].Service(thePrefs::ECPort());
737 if (thePrefs::GetAddress().IsEmpty()) {
739 } else if (!myaddr[1].Hostname(thePrefs::GetAddress())) {
742 % thePrefs::GetAddress());
746 myaddr[1].Service(thePrefs::GetPort()+3);
749 % ip % ((unsigned int)thePrefs::GetPort() + 3u);
756 myaddr[2].Service(thePrefs::GetPort());
759 % ip % (unsigned int)(thePrefs::GetPort());
769 (unsigned int)(thePrefs::GetPort());
775 (unsigned int)(thePrefs::GetPort());
784 myaddr[3].Service(thePrefs::GetUDPPort());
785 clientudp = new CClientUDPSocket(myaddr[3], thePrefs::GetProxyData());
786 if (!thePrefs::IsUDPDisabled()) {
788 % ip % thePrefs::GetUDPPort();
794 if (thePrefs::GetUPnPEnabled()) {
799 thePrefs::GetUPnPECEnabled(),
804 thePrefs::GetUPnPEnabled(),
809 thePrefs::GetUPnPEnabled(),
814 thePrefs::GetUPnPEnabled(),
816 m_upnp = new CUPnPControlPoint(thePrefs::GetUPnPTCPPort());
837 if (!thePrefs::IsOnlineSignatureEnabled() || m_emulesig_path.IsEmpty()) {
963 amulesig_out.AddLine(thePrefs::GetUserNick());
1029 InitLocale(m_locale, StrLang2wx(thePrefs::GetLanguageID()));
1060 if ( thePrefs::IsOnlineSignatureEnabled() ) {
1207 if (thePrefs::Reconnect()) {
1235 if (msCur - msPrevOS >= thePrefs::GetOSUpdate() * 1000ull) {
1379 if (thePrefs::GetSrcSeedsOn()) {
1407 if (thePrefs::GetUPnPEnabled()) {
1795 if (thePrefs::GetNetworkED2K() && thePrefs::GetNetworkKademlia()) {
1797 } else if (thePrefs::GetNetworkED2K()) {
1799 } else if (thePrefs::GetNetworkKademlia()) {
1912 if (IsOnShutDown() || thePrefs::IsUDPDisabled()) return;
1951 if (!Kademlia::CKademlia::IsRunning() && thePrefs::GetNetworkKademlia()) {
1953 if (!thePrefs::IsUDPDisabled()) {
1962 } else if (!thePrefs::GetNetworkKademlia()) {