1 // TortoiseGitMerge - a Diff/Patch program
3 // Copyright (C) 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.
22 #include "HistoryCombo.h"
23 #include "FileTextLines.h"
25 extern const CFileTextLines::UnicodeType uctArray
[9];
26 extern const EOL eolArray
[10];
29 * \ingroup TortoiseMerge
30 * Encoding dialog used in TortoiseMerge.
32 class CEncodingDlg
: public CDialog
34 DECLARE_DYNAMIC(CEncodingDlg
)
37 CEncodingDlg(CWnd
* pParent
= NULL
); // standard constructor
38 virtual ~CEncodingDlg();
39 void Create(CWnd
* pParent
= NULL
) {CDialog::Create(IDD
, pParent
);ShowWindow(SW_SHOW
);UpdateWindow();}
41 enum { IDD
= IDD_ENCODING
};
43 CFileTextLines::UnicodeType texttype
;
47 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
50 virtual void OnCancel();
52 virtual BOOL
OnInitDialog();