EgtExecutor 1.6j3 :
- aggiornamenti per gestione DB utensili - aggiunta gestione pompa eventi di interfaccia - aggiunti comandi Lua per copia e rinomina file.
This commit is contained in:
@@ -39,6 +39,7 @@ static Logger* s_pGenLog = nullptr ;
|
||||
static bool s_bCmdLog = false ;
|
||||
static Logger* s_pCmdLog = nullptr ;
|
||||
static string s_sKey ;
|
||||
static pfProcEvents s_pFunProcEvents = nullptr ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
@@ -326,6 +327,15 @@ ExeOutLog( const string& sMsg)
|
||||
return ( s_pGenLog != nullptr) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeSetProcessEvents( pfProcEvents pFun)
|
||||
{
|
||||
s_pFunProcEvents = pFun ;
|
||||
return ( pFun != nullptr) ;
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------------
|
||||
ILogger*
|
||||
@@ -355,3 +365,14 @@ IsCmdLog( void)
|
||||
{
|
||||
return s_bCmdLog ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------------
|
||||
int
|
||||
ProcessEvents( int nProg, int nPause)
|
||||
{
|
||||
if ( s_pFunProcEvents != nullptr)
|
||||
return s_pFunProcEvents( nProg, nPause) ;
|
||||
else
|
||||
return 0 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user