3d06ce7c60
- modifiche nelle dichiarazioni dei puntatori a funzione - aggiornamento prototipi.
54 lines
2.2 KiB
C++
54 lines
2.2 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2014-2025
|
|
//----------------------------------------------------------------------------
|
|
// File : EGkDllMain.h Data : 11.09.25 Versione : 2.7i2
|
|
// Contenuto : Prototipi funzioni generali della DLL.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 21.11.13 DS Creazione modulo.
|
|
// 13.01.15 DS Agg. funzioni Get sui font.
|
|
// 19.09.20 DS Agg. funzione SetEGkDebugLev.
|
|
// 11.09.25 DS Agg. funzione SetDefaultFont.
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "/EgtDev/Include/EgtFunPtrType.h"
|
|
#include <string>
|
|
|
|
class ILogger ;
|
|
|
|
//----------------------- 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
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// restituisce la versione della Dll (stringa del tipo 1.4a5)
|
|
EGK_EXPORT const char* GetEGkVersion( void) ;
|
|
// permette di impostare il livello di debug (>= 0)
|
|
EGK_EXPORT void SetEGkDebugLev( int nDebugLev) ;
|
|
// permette di impostare il logger per la Dll
|
|
EGK_EXPORT void SetEGkLogger( ILogger* pLogger) ;
|
|
// imposta la chiave di protezione
|
|
EGK_EXPORT void SetEGkKey( const std::string& sKey) ;
|
|
// imposta il tipo di chiave di protezione
|
|
EGK_EXPORT void SetEGkKeyType( int nType) ;
|
|
// imposta se chiave hardware di rete
|
|
EGK_EXPORT void SetEGkNetHwKey( bool bNetHwKey) ;
|
|
// permette di inizializzare il font manager
|
|
EGK_EXPORT void InitFontManager( const std::string& sNfeFontDir, const std::string& sDefaultFont) ;
|
|
// imposta il font di default
|
|
EGK_EXPORT void SetDefaultFont( const std::string& sDefaultFont) ;
|
|
// restituisce il direttorio dei font proprietari (Nfe)
|
|
EGK_EXPORT const std::string& GetNfeFontDir( void) ;
|
|
// restituisce il nome del font di default
|
|
EGK_EXPORT const std::string& GetDefaultFont( void) ;
|
|
// imposto il gestore eventi
|
|
EGK_EXPORT bool SetEGkProcessEvents( psfProcEvents pFun) ;
|