33 lines
1.2 KiB
C++
33 lines
1.2 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2013-2013
|
|
//----------------------------------------------------------------------------
|
|
// File : EgnFileCompare.h Data : 11.12.13 Versione : 1.4a5
|
|
// Contenuto : Prototipi funzioni di confronto tra file.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 11.12.13 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
|
|
//----------------------- Macro per import/export ----------------------------
|
|
#undef EGN_EXPORT
|
|
#if defined( I_AM_EGN) // da definirsi solo nella DLL
|
|
#define EGN_EXPORT __declspec( dllexport)
|
|
#else
|
|
#define EGN_EXPORT __declspec( dllimport)
|
|
#endif
|
|
|
|
//-----------------------------------------------------------------------------
|
|
EGN_EXPORT bool TextFileCompare( const std::string& sFile1, const std::string& sFile2,
|
|
const std::string& sRemIni, const std::string& sFileO) ;
|
|
EGN_EXPORT bool BinaryFileCompare( const std::string& sFile1, const std::string& sFile2,
|
|
const std::string& sFileO) ;
|
|
|