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

Method TimerTimer

source/main.cpp:372–389  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

370}
371//---------------------------------------------------------------------------
372void __fastcall TMainForm::TimerTimer(TObject *Sender)
373{
374 if( bFirstTimerTick )
375 {
376 TrayChangeIcon(0);
377 bFirstTimerTick = false;
378 }
379
380 // Check for new records, if the protocol is "live"
381 if( bLive )
382 if( in.IsOpen() )
383 // limit lines count on: show no more MAX(current_count, MaxGridLinesReceive) lines
384 Read(false);
385
386 // check LogRotate...
387 if( fdb )
388 fdb->CheckRotate();
389}
390//---------------------------------------------------------------------------
391void __fastcall TMainForm::UpdateDislpayInfo(void)
392{

Callers

nothing calls this directly

Calls 2

CheckRotateMethod · 0.80
IsOpenMethod · 0.45

Tested by

no test coverage detected