Add note for new users that a merge conflict requires a commit
[TortoiseGit.git] / src / TortoiseProc / UpdateListCtrl.h
blobb03dfa01566e5bb11d2191899ddbf4b4b54fbc8f
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2012, 2016 - 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 #pragma once
21 // CUpdateListCtrl
23 class CUpdateListCtrl : public CListCtrl
25 DECLARE_DYNAMIC(CUpdateListCtrl)
27 public:
28 CUpdateListCtrl();
29 virtual ~CUpdateListCtrl();
30 enum
32 STATUS_NONE,
33 STATUS_DOWNLOADING = 0x10000,
34 STATUS_FAIL = 0x1,
35 STATUS_SUCCESS = 0x2,
36 STATUS_IGNORE = 0x4,
37 STATUS_MASK = 0xffff
40 class Entry
42 public:
43 CString m_filename;
44 int m_status;
46 Entry(CString filename, int status)
48 m_filename = filename;
49 m_status = status;
53 CFont m_boldFont;
55 protected:
56 DECLARE_MESSAGE_MAP()
57 afx_msg void OnNMCustomdraw(NMHDR *pNMHDR, LRESULT *pResult);