Include :

- aggiornamento prototipi
- aggiunto include per puntatori a funzione generali.
This commit is contained in:
Dario Sassi
2018-07-20 08:07:24 +00:00
parent b53707ca5d
commit 2239ec8e6a
3 changed files with 24 additions and 2 deletions
+3
View File
@@ -13,6 +13,7 @@
#pragma once
#include "/EgtDev/Include/EgtFunPtrType.h"
#include <string>
class ILogger ;
@@ -40,3 +41,5 @@ EGK_EXPORT void InitFontManager( const std::string& sNfeFontDir, const std::stri
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( pfProcEvents pFun) ;
+1 -2
View File
@@ -18,6 +18,7 @@
#include "/EgtDev/Include/EGkPolyLine.h"
#include "/EgtDev/Include/EGkPolyArc.h"
#include "/EgtDev/Include/EGkSelection.h"
#include "/EgtDev/Include/EgtFunPtrType.h"
#define NOMINMAX
#include <windows.h>
#undef GetClassName
@@ -55,10 +56,8 @@ EXE_EXPORT bool ExeGetOsInfo( std::string& sOs) ;
EXE_EXPORT bool ExeGetCpuInfo( std::string& sCpu) ;
EXE_EXPORT bool ExeGetMemoryInfo( std::string& sMem) ;
EXE_EXPORT bool ExeOutLog( const std::string& sMsg) ;
typedef int (__stdcall * pfProcEvents) (int, int) ;
EXE_EXPORT bool ExeSetProcessEvents( pfProcEvents pFun) ;
EXE_EXPORT int ExeProcessEvents( int nProg, int nPause) ;
typedef bool (__stdcall * pfOutText) ( const std::string&) ;
EXE_EXPORT bool ExeSetOutText( pfOutText pFun) ;
EXE_EXPORT bool ExeOutText( const std::string& sText) ;
EXE_EXPORT bool ExeSetTempDir( const std::string& sTempDir) ;
+20
View File
@@ -0,0 +1,20 @@
//----------------------------------------------------------------------------
// EgalTech 2018-2018
//----------------------------------------------------------------------------
// File : EgtFunPtrType.h Data : 19.07.18 Versione : 1.9g2
// Contenuto : Dichiarazione tipi puntatori a funzione.
//
//
//
// Modifiche : 19.07.18 DS Creazione modulo.
//
//
//----------------------------------------------------------------------------
#pragma once
#include <string>
//----------------------------------------------------------------------------
typedef int (__stdcall * pfProcEvents) (int, int) ;
typedef bool (__stdcall * pfOutText) ( const std::string&) ;