1
// TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2015-2017 - TortoiseGit
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 // GitLogList.cpp : implementation file
25 class CGitTagCompareList
: public CHintCtrl
<CListCtrl
>
27 DECLARE_DYNAMIC(CGitTagCompareList
);
42 virtual ~CGitTagCompareList()
48 int Fill(const CString
& remote
, CString
& err
);
51 afx_msg
void OnHdnItemclick(NMHDR
* pNMHDR
, LRESULT
* pResult
);
52 afx_msg
void OnContextMenu(CWnd
*pWnd
, CPoint point
);
53 void OnContextMenuList(CWnd
*pWnd
, CPoint point
);
54 void OnContextMenuHeader(CWnd
*pWnd
, CPoint point
);
55 virtual ULONG
GetGestureStatus(CPoint ptTouch
) override
;
59 void AddEntry(git_repository
* repo
, const CString
& tag
, const CGitHash
* myHash
, const CGitHash
* theirHash
);
63 std::vector
<TagEntry
> m_TagList
;
65 static BOOL m_bSortLogical
;
76 bool m_bAscending
; ///< sort direction
77 int m_nSortedColumn
; ///< which column to sort