Include :

- aggiornamento prototipi e costanti.
This commit is contained in:
Dario Sassi
2019-07-22 07:48:23 +00:00
parent 4ee6655b54
commit 4e840db0b3
2 changed files with 12 additions and 1 deletions
+8
View File
@@ -101,6 +101,14 @@ enum ZoomType { ZM_ALL = 1, // zoom tutto
ZM_IN = 2, // ingrandisci
ZM_OUT = 3} ; // rimpicciolisci
//----------------- Costanti errore simulatore in cieco ------------------------
enum SimHideErr { SHE_NONE = 0, // nessun errore
SHE_INIT = 1, // errore nell'avvio della simulazione
SHE_OUTSTROKE = 2, // errore di extracorsa
SHE_DIR_ERR = 3, // errore direzione utensile non raggiungibile
SHE_COLLISION = 4, // errore collisione testa-pezzo
SHE_GENERAL = 5} ; // errore generico
//----------------- Costanti per sostituzione direttorio e nome progetto --------------------
const std::string SUB_PROJECT_DIR = "%PRJDIR%" ;
const std::string SUB_PROJECT_TITLE = "%PRJTITLE%" ;
+4 -1
View File
@@ -58,7 +58,9 @@ EXE_EXPORT bool ExeGetKeyOptLeftDays( int& nOptLeftDays) ;
EXE_EXPORT bool ExeGetOsInfo( std::string& sOs) ;
EXE_EXPORT bool ExeGetCpuInfo( std::string& sCpu) ;
EXE_EXPORT bool ExeGetMemoryInfo( std::string& sMem) ;
EXE_EXPORT bool ExeOutLog( const std::string& sMsg) ;
EXE_EXPORT bool ExeOutLog( const std::string& sMsg, int nDebugLevel = 0) ;
EXE_EXPORT bool ExeSetEnableUI( bool bEnableUI) ;
EXE_EXPORT bool ExeGetEnableUI( void) ;
EXE_EXPORT bool ExeSetProcessEvents( pfProcEvents pFun) ;
EXE_EXPORT int ExeProcessEvents( int nProg, int nPause) ;
EXE_EXPORT bool ExeSetOutText( pfOutText pFun) ;
@@ -879,6 +881,7 @@ EXE_EXPORT bool ExeSimExit( void) ;
// Generation & T&L estimation
EXE_EXPORT bool ExeGenerate( const std::string& sCncFile, const std::string& sInfo) ;
EXE_EXPORT bool ExeEstimate( const std::string& sEstFile, const std::string& sInfo) ;
EXE_EXPORT bool ExeSimulate( int& nErr, std::string& sError) ;
// Machine
EXE_EXPORT int ExeGetBaseId( const std::string& sBase) ;
EXE_EXPORT int ExeGetTableId( const std::string& sTable) ;