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

Method aFilterByHostExecute

source/main.cpp:1130–1142  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1128}
1129//---------------------------------------------------------------------------
1130void __fastcall TMainForm::aFilterByHostExecute(TObject *Sender)
1131{
1132 TSyslogMessage * sm = GetMessageByIndex(LogSG->Row - 1);
1133 if( ! sm )
1134 return;
1135 if( sm->HostName.Length() == 0 )
1136 return;
1137 MessMatch.Clear();
1138 MessMatch.Field1 = 3;
1139 MessMatch.Contains1 = true;
1140 MessMatch.Text1->Add(sm->HostName);
1141 ApplyFilter();
1142}
1143//---------------------------------------------------------------------------
1144void __fastcall TMainForm::aFilterByTagExecute(TObject *Sender)
1145{

Callers

nothing calls this directly

Calls 2

ClearMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected