• 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

35 #include "amule.h"			// Needed for theApp
91 theApp->serverlist->UpdateServerMetFromURL(strURL);
114 if ( theApp->AddServer( toadd, true ) ) {
119 CServer* update = theApp->serverlist->GetServerByAddress(toadd->GetAddress(), toadd->GetPort());
122 update = theApp->serverlist->GetServerByIPTCP(toadd->GetIP(), toadd->GetPort());
132 theApp->serverlist->SaveServerMet();
145 theApp->GetLog(true); // Reset it.
151 theApp->GetServerLog(true); // Reset it
162 if (theApp->IsConnectedED2K()) {
168 ED2KInfoList->SetItem(1, 1, theApp->serverconnect->IsLowID() ?
169 wxString(_("LowID")) : Uint32_16toStringIP_Port( theApp->GetED2KID(), thePrefs::GetPort()));
173 ED2KInfoList->SetItem(2, 1, CFormat(wxT("%u")) % theApp->GetED2KID());
177 if (theApp->serverconnect->IsLowID()) {
181 ED2KInfoList->SetItem(1, 1, Uint32_16toStringIP_Port(theApp->GetED2KID(), thePrefs::GetPort()));
205 if (theApp->IsKadRunning()) {
206 KadInfoList->SetItem(next_row++, 1, (theApp->IsKadRunningInLanMode() ? _("Running in LAN mode") : _("Running")));
210 KadInfoList->SetItem(next_row++, 1, theApp->IsConnectedKad() ? _("Connected"): _("Disconnected"));
211 if (theApp->IsConnectedKad()) {
213 KadInfoList->SetItem(next_row++, 1, theApp->IsFirewalledKad() ?
217 bool UDPFirewalled = theApp->IsFirewalledKadUDP();
222 if (theApp->IsFirewalledKad() || UDPFirewalled) {
225 switch ( theApp->GetBuddyStatus() )
228 if (!theApp->IsFirewalledKad()) {
240 BuddyState = CFormat(_("Connected to buddy at %s")) % Uint32_16toStringIP_Port(theApp->GetBuddyIP(), theApp->GetBuddyPort());
247 KadInfoList->SetItem(next_row++, 1, Uint32toStringIP(theApp->GetKadIPAdress()));
251 KadInfoList->SetItem(next_row++, 1, CFormat(wxT("%d")) % theApp->GetKadIndexedSources());
253 KadInfoList->SetItem(next_row++, 1, CFormat(wxT("%d")) % theApp->GetKadIndexedKeywords());
255 KadInfoList->SetItem(next_row++, 1, CFormat(wxT("%d")) % theApp->GetKadIndexedNotes());
257 KadInfoList->SetItem(next_row++, 1, CFormat(wxT("%d")) % theApp->GetKadIndexedLoad());
260 KadInfoList->SetItem(next_row, 1, CastItoIShort(theApp->GetKadUsers()));
263 KadInfoList->SetItem(next_row, 1, CastItoIShort(theApp->GetKadFiles()));
277 if (theApp->amuledlg) {
278 theApp->amuledlg->m_srv_split_pos = CastChild( wxT("SrvSplitterWnd"), wxSplitterWindow )->GetSashPosition();
284 if (theApp->serverconnect->IsConnecting()) {
285 theApp->serverconnect->StopConnectionTry();
287 theApp->serverconnect->Disconnect();