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

180 	long itemnr = FindItem( -1, ptr );
181 if ( itemnr == -1 ) {
183 itemnr = InsertItem( GetInsertPos( ptr ), server->GetListName() );
184 SetItemPtrData( itemnr, ptr );
187 item.SetId( itemnr );
202 SetItem(itemnr, COLUMN_SERVER_NAME, serverName);
203 SetItem(itemnr, COLUMN_SERVER_ADDR, server->GetAddress());
205 SetItem( itemnr, COLUMN_SERVER_PORT,
208 SetItem( itemnr, COLUMN_SERVER_PORT,
211 SetItem( itemnr, COLUMN_SERVER_DESC, server->GetDescription() );
214 SetItem( itemnr, COLUMN_SERVER_PING,
217 SetItem( itemnr, COLUMN_SERVER_PING, wxEmptyString );
221 SetItem( itemnr, COLUMN_SERVER_USERS,
224 SetItem( itemnr, COLUMN_SERVER_USERS, wxEmptyString );
228 SetItem( itemnr, COLUMN_SERVER_FILES,
231 SetItem( itemnr, COLUMN_SERVER_FILES, wxEmptyString );
235 case SRV_PR_LOW: SetItem(itemnr, COLUMN_SERVER_PRIO, _("Low")); break;
236 case SRV_PR_NORMAL: SetItem(itemnr, COLUMN_SERVER_PRIO, _("Normal")); break;
237 case SRV_PR_HIGH: SetItem(itemnr, COLUMN_SERVER_PRIO, _("High") ); break;
238 default: SetItem(itemnr, COLUMN_SERVER_PRIO, wxT("---")); // this should never happen
241 SetItem( itemnr, COLUMN_SERVER_FAILS, CFormat(wxT("%u")) % server->GetFailedCount());
242 SetItem( itemnr, COLUMN_SERVER_STATIC, ( server->IsStaticMember() ? _("Yes") : _("No") ) );
243 SetItem( itemnr, COLUMN_SERVER_VERSION, server->GetVersion() );
270 SetItem( itemnr, COLUMN_SERVER_TCPFLAGS, flags );
298 SetItem( itemnr, COLUMN_SERVER_UDPFLAGS, flags );
304 if (!IsItemSorted(itemnr)) {
320 long itemnr = FindItem( -1, reinterpret_cast<wxUIntPtr>(server) );
321 if ( itemnr > -1 ) {
323 item.SetId( itemnr );