689197717c
- aggiornamento prototipi.
43 lines
1.5 KiB
C++
43 lines
1.5 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2015-2019
|
|
//----------------------------------------------------------------------------
|
|
// File : EExImportBtl.h Data : 07.07.19 Versione : 2.1g3
|
|
// Contenuto : Dichiarazione della interfaccia IImportBtl.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 22.08.15 DS Creazione modulo.
|
|
// 21.01.19 DS Aggiunto EIBFLAG_TS3_POS.
|
|
// 07.07.19 DS Aggiunto EIBFLAG_SORT.
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "/EgtDev/Include/EGkGeomDB.h"
|
|
#include "/EgtDev/Include/EExBeamConst.h"
|
|
#include <string>
|
|
|
|
//----------------------- 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) IImportBtl
|
|
{
|
|
public :
|
|
virtual ~IImportBtl( void) {}
|
|
virtual bool Import( const std::string& sFile, IGeomDB* pGDB, int nFlag = 0) = 0 ;
|
|
} ;
|
|
|
|
//-----------------------------------------------------------------------------
|
|
extern "C" {
|
|
EEX_EXPORT bool SetBtlAuxDir( const std::string& sBtlAuxDir) ;
|
|
EEX_EXPORT bool SetBtlLuaData( const std::string& sLuaLibsDir, const std::string& sLuaLastRequire) ;
|
|
EEX_EXPORT IImportBtl* CreateImportBtl( void) ;
|
|
}
|