841dddf047
- sistemazione prototipi per passaggio import/export 3dm da Exchange a Exch3dm.
41 lines
1.2 KiB
C++
41 lines
1.2 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2023
|
|
//----------------------------------------------------------------------------
|
|
// File : EE3Export3dm.h Data : 21.09.23 Versione :
|
|
// Contenuto : Dichiarazione della interfaccia IExport3dm.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 21.09.23 DB Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "/EgtDev/Include/EGkGeomDB.h"
|
|
#include "/EgtDev/Include/EExExportConst.h"
|
|
#include <string>
|
|
|
|
//----------------------- Macro per import/export ----------------------------
|
|
#undef EE3_EXPORT
|
|
#if defined( I_AM_EE3) // da definirsi solo nella DLL
|
|
#define EE3_EXPORT __declspec( dllexport)
|
|
#else
|
|
#define EE3_EXPORT __declspec( dllimport)
|
|
#endif
|
|
|
|
//-----------------------------------------------------------------------------
|
|
class __declspec( novtable) IExport3dm
|
|
{
|
|
public :
|
|
virtual ~IExport3dm( void) {}
|
|
virtual bool SetOptions( int nFilter) = 0 ;
|
|
virtual bool Export( IGeomDB* pGDB, int nId, const std::string& sFile) = 0 ;
|
|
} ;
|
|
|
|
//-----------------------------------------------------------------------------
|
|
extern "C" {
|
|
EE3_EXPORT IExport3dm* CreateExport3dm(void) ;
|
|
}
|