EgtInterface 1.5j4 :
- ora si imposta un context corrente anche per le API come per LUA - il context corrente di LUA coincide con quello delle API.
This commit is contained in:
+6
-6
@@ -28,9 +28,9 @@ using namespace std ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtInitTscExec( int nGseCtx)
|
||||
__stdcall EgtInitTscExec( void)
|
||||
{
|
||||
GseContext* pGseCtx = GetGseContext( nGseCtx) ;
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_GEOMDB( pGseCtx, FALSE)
|
||||
|
||||
// eventuale pulizia esecutore e suoi oggetti
|
||||
@@ -72,9 +72,9 @@ __stdcall EgtInitTscExec( int nGseCtx)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtTscExecFile( int nGseCtx, const wchar_t* wsFilePath)
|
||||
__stdcall EgtTscExecFile( const wchar_t* wsFilePath)
|
||||
{
|
||||
ICmdParser* pTscExec = GetTscExecutor( nGseCtx) ;
|
||||
ICmdParser* pTscExec = GetCurrTscExecutor() ;
|
||||
VERIFY_TSCEXEC( pTscExec, FALSE)
|
||||
|
||||
// converto nome file
|
||||
@@ -94,9 +94,9 @@ __stdcall EgtTscExecFile( int nGseCtx, const wchar_t* wsFilePath)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtTscExecLine( int nGseCtx, const wchar_t* wsLine)
|
||||
__stdcall EgtTscExecLine( const wchar_t* wsLine)
|
||||
{
|
||||
ICmdParser* pTscExec = GetTscExecutor( nGseCtx) ;
|
||||
ICmdParser* pTscExec = GetCurrTscExecutor() ;
|
||||
VERIFY_TSCEXEC( pTscExec, FALSE)
|
||||
// eseguo il comando
|
||||
return ( pTscExec->ExecLine( wstrztoA( wsLine)) ? TRUE : FALSE) ;
|
||||
|
||||
Reference in New Issue
Block a user