From 2d430c3fd6ba92d7dddf29bede65f12809479dd4 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 8 Oct 2025 18:30:06 +0200 Subject: [PATCH] Include : - aggiornamento prototipi. --- EGkMultiGeomDB.h | 28 ++++++++++++++++++++++++++++ EInAPI.h | 2 ++ EXeExecutor.h | 2 ++ 3 files changed, 32 insertions(+) create mode 100644 EGkMultiGeomDB.h diff --git a/EGkMultiGeomDB.h b/EGkMultiGeomDB.h new file mode 100644 index 0000000..d459c8c --- /dev/null +++ b/EGkMultiGeomDB.h @@ -0,0 +1,28 @@ +//---------------------------------------------------------------------------- +// EgalTech 2025-2025 +//---------------------------------------------------------------------------- +// File : MultiGeomDB.h Data : 08.10.25 Versione : 2.7j1 +// Contenuto : Dichiarazione delle funzioni tra due GeomDB. +// +// +// +// Modifiche : 08.10.25 DB Creazione modulo. +// +// +//---------------------------------------------------------------------------- + +#pragma once + +#include "/EgtDev/Include/EGkGeomDB.h" + +//----------------------- Macro per import/export ---------------------------- +#undef EGK_EXPORT +#if defined( I_AM_EGK) // da definirsi solo nella DLL +#define EGK_EXPORT __declspec( dllexport) +#else +#define EGK_EXPORT __declspec( dllimport) +#endif + +//---------------------------------------------------------------------------- +EGK_EXPORT int Copy( IGeomDB* pSouGeomDB, int nSouId, IGeomDB* pDestGeomDB, int nDestId, int nRefId, int nSonBeforeAfter = GDB_LAST_SON) ; +EGK_EXPORT int CopyGlob( IGeomDB* pSouGeomDB, int nSouId, IGeomDB* pDestGeomDB, int nDestId, int nRefId, int nSonBeforeAfter = GDB_LAST_SON) ; diff --git a/EInAPI.h b/EInAPI.h index a36cf4a..c7d1452 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -390,7 +390,9 @@ EIN_EXPORT BOOL __stdcall EgtGetBBoxRef( int nId, int nFlag, const double ptOrig const double vtX[3], const double vtY[3], const double vtZ[3], double ptMin[3], double ptMax[3]) ; EIN_EXPORT int __stdcall EgtCopy( int nSouId, int nRefId, int nSonBeforeAfter) ; +EIN_EXPORT int __stdcall EgtCopyEx( int nSouCtx, int nSouId, int nDestCtx, int nRefId, int nSonBeforeAfter) ; EIN_EXPORT int __stdcall EgtCopyGlob( int nSouId, int nRefId, int nSonBeforeAfter) ; +EIN_EXPORT int __stdcall EgtCopyGlobEx( int nSouCtx, int nSouId, int nDestCtx, int nRefId, int nSonBeforeAfter) ; EIN_EXPORT BOOL __stdcall EgtRelocate( int nSouId, int nRefId, int nSonBeforeAfter) ; EIN_EXPORT BOOL __stdcall EgtRelocateGlob( int nSouId, int nRefId, int nSonBeforeAfter) ; EIN_EXPORT BOOL __stdcall EgtGroupSwap( int nId1, int nId2, BOOL bSwapRef, BOOL bMark) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index ce01091..683530f 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -494,7 +494,9 @@ EXE_EXPORT bool ExeGetBBox( int nId, int nFlag, BBox3d& b3Box) ; EXE_EXPORT bool ExeGetBBoxGlob( int nId, int nFlag, BBox3d& b3Box) ; EXE_EXPORT bool ExeGetBBoxRef( int nId, int nFlag, const Frame3d& frRef, BBox3d& b3Box) ; EXE_EXPORT int ExeCopy( int nSouId, int nRefId, int nSonBeforeAfter) ; +EXE_EXPORT int ExeCopyEx( int nSouCtx, int nSouId, int nDestCtx, int nRefId, int nSonBeforeAfter) ; EXE_EXPORT int ExeCopyGlob( int nSouId, int nRefId, int nSonBeforeAfter) ; +EXE_EXPORT int ExeCopyGlobEx( int nSouCtx, int nSouId, int nDestCtx, int nRefId, int nSonBeforeAfter) ; EXE_EXPORT bool ExeRelocate( int nSouId, int nRefId, int nSonBeforeAfter) ; EXE_EXPORT bool ExeRelocateGlob( int nSouId, int nRefId, int nSonBeforeAfter) ; EXE_EXPORT bool ExeGroupSwap( int nId1, int nId2, bool bSwapRef, bool bMark) ;