4 * @brief Declaration for DiffFileData class.
6 * @date Created: 2003-08-22
10 #include "FileLocation.h"
11 #include "FileTextStats.h"
13 // forward declarations needed by DiffFileData
19 * @brief C++ container for the structure (file_data) used by diffutils' diff_2_files(...)
28 DiffFileData(const DiffFileData& other) = delete;
31 bool OpenFiles(const String& szFilepath1, const String& szFilepath2);
33 void Close() { Reset(); }
34 void SetDisplayFilepaths(const String& szTrueFilepath1, const String& szTrueFilepath2);
36 bool Filepath_Transform(bool bForceUTF8, const FileTextEncoding & encoding, const String & filepath, String & filepathTransformed,
37 const String& filteredFilenames, PrediffingInfo& infoPrediffer);
41 bool m_used; // whether m_inf has real data
42 FileLocation m_FileLocation[3];
43 FileTextStats m_textStats[3];
45 String m_sDisplayFilepath[2];