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

Method aRotatePrevExecute

source/main.cpp:1384–1399  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1382}
1383//---------------------------------------------------------------------------
1384void __fastcall TMainForm::aRotatePrevExecute(TObject *Sender)
1385{
1386 TStorageFile * sf = fdb->GetByNumber( FileNumber );
1387 if( ! sf )
1388 return;
1389 if( ! sf->IsRotationEnable() )
1390 return;
1391 String f = sf->RotationLogGetItem(FileRotationNumber+1);
1392 if( f.IsEmpty() )
1393 return;
1394 if( ! FileExists(f) )
1395 return;
1396 FileRotationNumber++;
1397 SetFile( f );
1398 UpdateRotationViewControl();
1399}
1400//---------------------------------------------------------------------------
1401void __fastcall TMainForm::aRotateNextExecute(TObject *Sender)
1402{

Callers

nothing calls this directly

Calls 2

IsRotationEnableMethod · 0.80
RotationLogGetItemMethod · 0.80

Tested by

no test coverage detected