From 13b742e04d5c242c7df88f9584b55a10f5772b76 Mon Sep 17 00:00:00 2001 From: DarioS Date: Wed, 8 Dec 2021 16:46:44 +0100 Subject: [PATCH] Include : - aggiornamento prototipi. --- EInAPI.h | 3 +++ EMkMachMgr.h | 4 ++++ EXeExecutor.h | 3 +++ 3 files changed, 10 insertions(+) diff --git a/EInAPI.h b/EInAPI.h index d2828b9..cedd973 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -820,6 +820,9 @@ EIN_EXPORT BOOL __stdcall EgtMdbGetGeneralParamDouble( int nType, double* pdVal) EIN_EXPORT BOOL __stdcall EgtMdbReload( void) ; EIN_EXPORT BOOL __stdcall EgtMdbSave( void) ; EIN_EXPORT BOOL __stdcall EgtMdbGetMachiningDir( wchar_t*& wsMchDir) ; +EIN_EXPORT BOOL __stdcall EgtMdbExport( const wchar_t* wsMachiningsNames, const wchar_t* wsOutFile) ; +EIN_EXPORT BOOL __stdcall EgtMdbToBeImported( const wchar_t* wsFile, wchar_t*& wsMachiningsNames, int*& vTypes, int* pnCount) ; +EIN_EXPORT BOOL __stdcall EgtMdbImport( const wchar_t* wsFile, const wchar_t* wsMachiningsToImport, const wchar_t* wsMachiningsNames, wchar_t*& wsImported) ; // Operations EIN_EXPORT int __stdcall EgtGetFirstOperation( void) ; EIN_EXPORT int __stdcall EgtGetNextOperation( int nId) ; diff --git a/EMkMachMgr.h b/EMkMachMgr.h index 4fd4058..527f480 100644 --- a/EMkMachMgr.h +++ b/EMkMachMgr.h @@ -193,6 +193,10 @@ class __declspec( novtable) IMachMgr virtual bool MdbReload( void) = 0 ; virtual bool MdbSave( void) const = 0 ; virtual bool MdbGetMachiningDir( std::string& sMchDir) const = 0 ; + virtual bool MdbExport( const STRVECTOR& vsMachiningsNames, const std::string& sOutFile) const = 0 ; + virtual bool MdbToBeImported( const std::string& sFile, STRVECTOR& vsMachiningsNames, INTVECTOR& vMachiningsTypes) const = 0 ; + virtual bool MdbImport( const std::string& sFile, const STRVECTOR& vsMachiningsToImport, const STRVECTOR& vsMachiningsNames, + STRVECTOR& vsImported) = 0 ; // Operations : general virtual int GetOperationCount( void) const = 0 ; virtual int GetFirstOperation( void) const = 0 ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 3cb822f..e0891a3 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -968,6 +968,9 @@ EXE_EXPORT bool ExeMdbGetGeneralParam( int nType, double& dVal) ; EXE_EXPORT bool ExeMdbReload( void) ; EXE_EXPORT bool ExeMdbSave( void) ; EXE_EXPORT bool ExeMdbGetMachiningDir( std::string& sMchDir) ; +EXE_EXPORT bool ExeMdbExport( const STRVECTOR& vsMachiningsNames, const std::string& sOutFile) ; +EXE_EXPORT bool ExeMdbToBeImported( const std::string& sFile, STRVECTOR& vsMachiningsNames, INTVECTOR& vMachiningsTypes) ; +EXE_EXPORT bool ExeMdbImport( const std::string& sFile, const STRVECTOR& vsMachiningsToImport, const STRVECTOR& vsMachiningsNames, STRVECTOR& vsImported) ; // Operations EXE_EXPORT int ExeGetFirstOperation( void) ; EXE_EXPORT int ExeGetNextOperation( int nId) ;