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

Function GetPriorities

source/syslog.cpp:77–84  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

75}
76//---------------------------------------------------------------------------
77void GetPriorities(TStrings * s)
78{
79 s->BeginUpdate();
80 s->Clear();
81 for(int pri=0; pri<LOG_NPRIORITIES; pri++)
82 s->AddObject(getcodetext(pri, prioritynames), (TObject *)pri);
83 s->EndUpdate();
84}
85//---------------------------------------------------------------------------
86void GetFacilities(TStrings * s)
87{

Callers 1

TFrameFunction · 0.85

Calls 2

getcodetextFunction · 0.85
ClearMethod · 0.45

Tested by

no test coverage detected