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:
Dario Sassi
2015-10-27 10:14:16 +00:00
parent e3aab825c2
commit 21487cc6f2
6 changed files with 401 additions and 16 deletions
+21
View File
@@ -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 ;
}