EgtMachKernel :

- si segnala nel log il tipo di pocketing usato (Mach-Pocketing=1/2).
This commit is contained in:
Dario Sassi
2025-12-16 13:12:25 +01:00
parent 2ab5a38ffb
commit c856a2c4c2
+4 -1
View File
@@ -30,10 +30,13 @@ RegisterPocketing( void)
if ( bFirst) {
std::string sIniPath ;
ExeGetIniFile( sIniPath) ;
if ( GetPrivateProfileInt( SEC_MACH, KEY_POCKETING, 1, sIniPath.c_str()) == 2)
int nPockType = GetPrivateProfileInt( SEC_MACH, KEY_POCKETING, 1, sIniPath.c_str()) ;
if ( nPockType == 2)
UserObjRegister<PocketingNT>::DoRegister( GetOperationClass( OPER_POCKETING)) ;
else
UserObjRegister<Pocketing>::DoRegister( GetOperationClass( OPER_POCKETING)) ;
std::string sInfo = "Mach-Pocketing=" + ToString( nPockType) ;
LOG_INFO( GetEMkLogger(), sInfo.c_str())
bFirst = false ;
}
return true ;