MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / GetList

Method GetList

source/fdb.cpp:465–476  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

463}
464//---------------------------------------------------------------------------
465void TStorageFileList::GetList(TStrings * s, bool getall)
466{
467 s->BeginUpdate();
468 s->Clear();
469 TStorageFile * p;
470 for(int i=getall?0:1; i<Count; i++)
471 {
472 p = Get(i);
473 s->AddObject(p->GetDescription(), (TObject *)p->number);
474 }
475 s->EndUpdate();
476}
477//---------------------------------------------------------------------------
478int TStorageFileList::GetNewNumber(void)
479{

Callers 4

TFrameFunction · 0.80
SpeedButton2ClickMethod · 0.80
InitMethod · 0.80
aSetupExecuteMethod · 0.80

Calls 2

ClearMethod · 0.45
GetDescriptionMethod · 0.45

Tested by

no test coverage detected