1
// TortoiseGitMerge - a Diff/Patch program
3 // Copyright (C) 2023 - TortoiseGit
4 // Copyright (C) 2011, 2013, 2020 - TortoiseSVN
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software Foundation,
18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #include "StandAloneDlg.h"
24 // CGotoLineDlg dialog
26 class CGotoLineDlg
: public CStandAloneDialog
28 DECLARE_DYNAMIC(CGotoLineDlg
)
31 CGotoLineDlg(CWnd
* pParent
= nullptr); // standard constructor
32 virtual ~CGotoLineDlg();
34 int GetLineNumber() const {return m_nLine
;}
35 void SetLabel(const CString
& label
) { m_sLabel
= label
; }
36 void SetLimits(int low
, int high
) { m_nLow
= low
; m_nHigh
= high
; }
39 enum { IDD
= IDD_GOTO
};
42 void DoDataExchange(CDataExchange
* pDX
) override
; // DDX/DDV support
43 BOOL
OnInitDialog() override
;