From caa70b17513b458b7baba9325c855766ce35a955 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Sat, 5 Apr 2014 20:48:39 +0000 Subject: [PATCH] Include : - aggiunti include per Exchange. --- EExExcExecutor.h | 37 +++++++++++++++++++++++++++++++++++++ EExImportStl.h | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 EExExcExecutor.h create mode 100644 EExImportStl.h diff --git a/EExExcExecutor.h b/EExExcExecutor.h new file mode 100644 index 0000000..6eab13e --- /dev/null +++ b/EExExcExecutor.h @@ -0,0 +1,37 @@ +//---------------------------------------------------------------------------- +// EgalTech 2014-2014 +//---------------------------------------------------------------------------- +// File : EExExcExecutor.h Data : 04.04.14 Versione : 1.5d1 +// Contenuto : Dichiarazione della interfaccia IExcExecutor. +// +// +// +// Modifiche : 04.04.14 DS Creazione modulo. +// +// +//---------------------------------------------------------------------------- + +#pragma once + +#include "/EgtDev/Include/EgnCmdExecutor.h" + +class IGeomDB ; + +//----------------------- Macro per import/export ---------------------------- +#undef EEK_EXPORT +#if defined( I_AM_EEX) // da definirsi solo nella DLL + #define EEX_EXPORT __declspec( dllexport) +#else + #define EEX_EXPORT __declspec( dllimport) +#endif + +//---------------------------------------------------------------------------- +class __declspec( novtable) IExcExecutor : public ICmdExecutor +{ + public : + virtual ~IExcExecutor( void) {} + virtual bool SetGeomDB( IGeomDB* pGdb) = 0 ; +} ; + +//---------------------------------------------------------------------------- +EEX_EXPORT IExcExecutor* CreateExcExecutor( void) ; diff --git a/EExImportStl.h b/EExImportStl.h new file mode 100644 index 0000000..70814c8 --- /dev/null +++ b/EExImportStl.h @@ -0,0 +1,37 @@ +//---------------------------------------------------------------------------- +// EgalTech 2014-2014 +//---------------------------------------------------------------------------- +// File : EExImportStl.h Data : 04.04.14 Versione : 1.5d1 +// Contenuto : Dichiarazione della interfaccia IImportStl. +// +// +// +// Modifiche : 04.04.14 DS Creazione modulo. +// +// +//---------------------------------------------------------------------------- + +#pragma once + +#include + +class IGeomDB ; + +//----------------------- Macro per import/export ---------------------------- +#undef EEK_EXPORT +#if defined( I_AM_EEX) // da definirsi solo nella DLL + #define EEX_EXPORT __declspec( dllexport) +#else + #define EEX_EXPORT __declspec( dllimport) +#endif + +//----------------------------------------------------------------------------- +class __declspec( novtable) IImportStl +{ + public : + virtual ~IImportStl( void) {} + virtual bool Import( const std::string& sFile, IGeomDB* pGDB, int nIdGroup) = 0 ; +} ; + +//----------------------------------------------------------------------------- +EEX_EXPORT IImportStl* CreateImportStl( void) ; \ No newline at end of file