Include :
- aggiornate interfacce - aggiunte costanti per codici di protezione (con opzioni).
This commit is contained in:
+9
-3
@@ -13,6 +13,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
class ILogger ;
|
||||
|
||||
@@ -25,6 +26,11 @@ class ILogger ;
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
EEX_EXPORT const char* GetEExVersion( void) ;
|
||||
// permette di impostare il logger per la Dll
|
||||
EEX_EXPORT void SetEExLogger( ILogger* pLogger) ;
|
||||
extern "C" {
|
||||
// restituisce la versione della Dll
|
||||
EEX_EXPORT const char* GetEExVersion( void) ;
|
||||
// permette di impostare il logger per la Dll
|
||||
EEX_EXPORT void SetEExLogger( ILogger* pLogger) ;
|
||||
// imposta la chiave di protezione
|
||||
EEX_EXPORT void SetEExKey( const std::string& sKey) ;
|
||||
}
|
||||
+3
-1
@@ -34,4 +34,6 @@ class __declspec( novtable) IExcExecutor : public ICmdExecutor
|
||||
} ;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
EEX_EXPORT IExcExecutor* CreateExcExecutor( void) ;
|
||||
extern "C" {
|
||||
EEX_EXPORT IExcExecutor* CreateExcExecutor(void) ;
|
||||
}
|
||||
+3
-1
@@ -35,4 +35,6 @@ class __declspec( novtable) IExportDxf
|
||||
} ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
EEX_EXPORT IExportDxf* CreateExportDxf( void) ;
|
||||
extern "C" {
|
||||
EEX_EXPORT IExportDxf* CreateExportDxf(void) ;
|
||||
}
|
||||
|
||||
+3
-1
@@ -35,4 +35,6 @@ class __declspec( novtable) IExportStl
|
||||
} ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
EEX_EXPORT IExportStl* CreateExportStl( void) ;
|
||||
extern "C" {
|
||||
EEX_EXPORT IExportStl* CreateExportStl(void) ;
|
||||
}
|
||||
|
||||
+3
-1
@@ -33,4 +33,6 @@ class __declspec( novtable) IImportCnc
|
||||
} ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
EEX_EXPORT IImportCnc* CreateImportCnc( void) ;
|
||||
extern "C" {
|
||||
EEX_EXPORT IImportCnc* CreateImportCnc( void) ;
|
||||
}
|
||||
|
||||
+3
-1
@@ -35,4 +35,6 @@ class __declspec( novtable) IImportDxf
|
||||
} ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
EEX_EXPORT IImportDxf* CreateImportDxf( void) ;
|
||||
extern "C" {
|
||||
EEX_EXPORT IImportDxf* CreateImportDxf(void) ;
|
||||
}
|
||||
|
||||
+3
-1
@@ -33,4 +33,6 @@ class __declspec( novtable) IImportStl
|
||||
} ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
EEX_EXPORT IImportStl* CreateImportStl( void) ;
|
||||
extern "C" {
|
||||
EEX_EXPORT IImportStl* CreateImportStl( void) ;
|
||||
}
|
||||
|
||||
+8
-3
@@ -25,6 +25,11 @@ class ILogger ;
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
EGR_EXPORT const char* GetEGrVersion( void) ;
|
||||
// permette di impostare il logger per la Dll
|
||||
EGR_EXPORT void SetEGrLogger( ILogger* pLogger) ;
|
||||
extern "C" {
|
||||
// restituisce la versione della Dll
|
||||
EGR_EXPORT const char* GetEGrVersion( void) ;
|
||||
// permette di impostare il logger per la Dll
|
||||
EGR_EXPORT void SetEGrLogger( ILogger* pLogger) ;
|
||||
// imposta la chiave di protezione
|
||||
EGR_EXPORT void SetEGrKey( const std::string& sKey) ;
|
||||
}
|
||||
+3
-1
@@ -35,4 +35,6 @@ class __declspec( novtable) ISceExecutor : public ICmdExecutor
|
||||
} ;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
EGR_EXPORT ISceExecutor* CreateSceExecutor( void) ;
|
||||
extern "C" {
|
||||
EGR_EXPORT ISceExecutor* CreateSceExecutor(void) ;
|
||||
}
|
||||
|
||||
+3
-2
@@ -117,8 +117,9 @@ class IEGrScene
|
||||
} ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
EGR_EXPORT IEGrScene* CreateEGrScene( void) ;
|
||||
|
||||
extern "C" {
|
||||
EGR_EXPORT IEGrScene* CreateEGrScene(void) ;
|
||||
}
|
||||
|
||||
//------------------------ Costanti per tipo di driver OpenGL ----------------
|
||||
enum OglDriver { OD_SOFT = 1,
|
||||
|
||||
+8
-6
@@ -26,9 +26,11 @@ class ILogger ;
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// restituisce la versione della Dll (stringa del tipo 1.4a5)
|
||||
EMK_EXPORT const char* GetEMkVersion( void) ;
|
||||
// permette di impostare il logger per la Dll
|
||||
EMK_EXPORT void SetEMkLogger( ILogger* pLogger) ;
|
||||
// imposta la chiave di protezione
|
||||
EMK_EXPORT void SetEMkKey( const std::string& sKey) ;
|
||||
extern "C" {
|
||||
// restituisce la versione della Dll
|
||||
EMK_EXPORT const char* GetEMkVersion( void) ;
|
||||
// permette di impostare il logger per la Dll
|
||||
EMK_EXPORT void SetEMkLogger( ILogger* pLogger) ;
|
||||
// imposta la chiave di protezione
|
||||
EMK_EXPORT void SetEMkKey( const std::string& sKey) ;
|
||||
}
|
||||
+3
-1
@@ -33,4 +33,6 @@ class __declspec( novtable) IMachMgr
|
||||
} ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
EMK_EXPORT IMachMgr* CreateMachMgr( void) ;
|
||||
extern "C" {
|
||||
EMK_EXPORT IMachMgr* CreateMachMgr(void) ;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
//----------------------------------------------------------------------------
|
||||
// EgalTech 2015-2015
|
||||
//----------------------------------------------------------------------------
|
||||
// File : EgtKeyCodes.h Data : 27.03.15 Versione : 1.6c9
|
||||
// Contenuto : Costanti per codici di protezione librerie di base.
|
||||
//
|
||||
//
|
||||
//
|
||||
// Modifiche : 27.03.15 DS Creazione modulo.
|
||||
//
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
#pragma once
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
const int KEY_BASELIB_PROD = 1231 ;
|
||||
const int KEY_BASELIB_VER = 16 ;
|
||||
const int KEY_BASELIB_LEV = 1 ;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
const int KEYOPT_EGK_BASE = 0x00001 ; // EgtGeomKernel base
|
||||
const int KEYOPT_EGK_SAVE = 0x00002 ; // EgtGeomKernel salvataggio
|
||||
const int KEYOPT_EGR_BASE = 0x00004 ; // EgtGraphics
|
||||
const int KEYOPT_EEX_INPBASE = 0x00008 ; // EgtExchange import base
|
||||
const int KEYOPT_EEX_INPADV = 0x00010 ; // EgtExchange import avanzato
|
||||
const int KEYOPT_EEX_EXPBASE = 0x00020 ; // EgtExchange export base
|
||||
const int KEYOPT_EEX_EXPADV = 0x00040 ; // EgtExchange export avanzato
|
||||
const int KEYOPT_EMK_BASE = 0x00080 ; // EgtMachKernel lavorazioni base
|
||||
Reference in New Issue
Block a user