Update diff del rename ignore document.
[TortoiseGit.git] / src / TortoiseMerge / RightView.h
blobc4462a8769289605778c4fcae21d19a918c6edf3
1 // TortoiseMerge - a Diff/Patch program
3 // Copyright (C) 2006-2008 - 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
20 #include "BaseView.h"
22 /**
23 * \ingroup TortoiseMerge
24 * The right view in TortoiseMerge. This is the one which is usually modified and
25 * saved.
27 class CRightView : public CBaseView
29 DECLARE_DYNCREATE(CRightView)
30 public:
31 CRightView(void);
32 ~CRightView(void);
34 void UseFile(bool refreshViews = true);
35 void UseBlock(bool refreshViews = true);
36 void UseLeftBeforeRight(bool refreshViews = true);
37 void UseRightBeforeLeft(bool refreshViews = true);
38 protected:
39 bool OnContextMenu(CPoint point, int nLine, DiffStates state);