[Winmerge-svn] SF.net SVN: winmerge:[5702] trunk/Src/files.h
Windows visual diff and merge for files and directories
Brought to you by:
christianlist,
grimmdp
From: <ki...@us...> - 2008-07-30 11:13:20
|
Revision: 5702 http://winmerge.svn.sourceforge.net/winmerge/?rev=5702&view=rev Author: kimmov Date: 2008-07-30 11:13:18 +0000 (Wed, 30 Jul 2008) Log Message: ----------- Remove two unused structures. Modified Paths: -------------- trunk/Src/files.h Modified: trunk/Src/files.h =================================================================== --- trunk/Src/files.h 2008-07-30 09:08:18 UTC (rev 5701) +++ trunk/Src/files.h 2008-07-30 11:13:18 UTC (rev 5702) @@ -147,30 +147,6 @@ LPVOID pMapBase; }; -struct textline -{ - int start; // byte offset - int end; // byte offset - CString sline; - typedef enum { EOL_NONE, EOL_CR, EOL_LF, EOL_CRLF } EOLTYPE; - EOLTYPE eoltype; - textline() : start(-1), end(-1), eoltype(EOL_NONE) { } -}; -struct ParsedTextFile -{ - int crs; /* not including crlfs */ - int lfs; /* not including crlfs */ - int crlfs; - int codeset; - int charsize; - bool lossy; /* was codeset conversion reversible ? */ - CArray<textline, textline> lines; - - ParsedTextFile() - : crs(0), lfs(0), crlfs(0), codeset(0), charsize(1), lossy(false) - {} -}; - BOOL files_openFileMapped(MAPPEDFILEDATA *fileData); BOOL files_closeFileMapped(MAPPEDFILEDATA *fileData, DWORD newSize, BOOL flush); BOOL files_isFileReadOnly(const CString &file, BOOL *fileExists = NULL); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |