Minor code cleanup
[TortoiseGit.git] / src / TortoiseMerge / EOL.h
blobaad5ffb4043c599f8da970c0f5a434e5d0057280
1 // TortoiseGitMerge - a Diff/Patch program
3 // Copyright (C) 2007, 2013 - TortoiseSVN
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #pragma once
21 /**
22 * \ingroup TortoiseMerge
23 * the different EOL styles a line can have.
25 enum EOL
27 EOL_AUTOLINE,
28 // MS native
29 EOL_CRLF, ///< CR (U+000D) followed by LF (U+000A)
30 // foregin
31 EOL_LF, ///< Line Feed, U+000A
32 EOL_CR, ///< Carriage Return, U+000D
33 // exotic - diff needs conversion
34 EOL_LFCR,
35 EOL_VT, ///< Vertical Tab, U+000B
36 EOL_FF, ///< Form Feed, U+000C
37 EOL_NEL, ///< Next Line, U+0085
38 EOL_LS, ///< Line Separator, U+2028
39 EOL_PS, ///< Paragraph Separator, U+2029
40 EOL_NOENDING,
42 EOL__COUNT
45 extern const wchar_t * GetEolName(EOL eEol);