EgtExecutor 1.8b3 :
- aggiunta in Exe e Lua SetIniFile.
This commit is contained in:
@@ -41,6 +41,7 @@ static bool s_bCmdLog = false ;
|
||||
static Logger* s_pCmdLog = nullptr ;
|
||||
static string s_sKey ;
|
||||
static int s_nKeyType = KEY_LOCK_TYPE_ANY ;
|
||||
static string s_sIniFile ;
|
||||
static pfProcEvents s_pFunProcEvents = nullptr ;
|
||||
static pfOutText s_pFunOutText = nullptr ;
|
||||
|
||||
@@ -215,6 +216,14 @@ ExeSetLuaLibs( const string& sLuaLibsDir)
|
||||
return LuaSetLuaLibsDir( sLuaLibsDir) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeSetIniFile( const string& sIniFile)
|
||||
{
|
||||
s_sIniFile = sIniFile ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeSetCommandLogger( const string& sLogFile)
|
||||
@@ -418,6 +427,13 @@ ExeOutText( const string& sText)
|
||||
return false ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------------
|
||||
const string&
|
||||
ExeGetIniFile( void)
|
||||
{
|
||||
return s_sIniFile ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user