Include :
- modifica interfaccia di CmdParser.
This commit is contained in:
+7
-1
@@ -8,6 +8,7 @@
|
||||
//
|
||||
// Modifiche : 25.11.13 DS Creazione modulo.
|
||||
// 15.03.14 DS Agg. ExecuteLine.
|
||||
// 10.04.14 DS Agg. GetIdParam.
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
@@ -38,9 +39,14 @@ class __declspec( novtable) ICmdParser
|
||||
virtual bool SetVariable( const std::string& sName, int nVal) = 0 ;
|
||||
virtual bool GetVariable( const std::string& sName, int& nVal) = 0 ;
|
||||
virtual bool RemoveVariable( const std::string& sName) = 0 ;
|
||||
virtual int GetIdParam( const std::string& sParam, bool bNewAllowed = false) = 0 ;
|
||||
virtual bool Run( const std::string& sCmdFile, bool bIsolated = true) = 0 ;
|
||||
virtual bool ExecLine( const std::string& sCmdLine, bool bIsolated = false) = 0 ;
|
||||
} ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
EGN_EXPORT ICmdParser* CreateCmdParser( void) ;
|
||||
EGN_EXPORT ICmdParser* CreateCmdParser( void) ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
const int CMD_ID_NULL = - 1 ;
|
||||
const int CMD_ID_ERROR = - 99 ;
|
||||
Reference in New Issue
Block a user