BrowseRefs: Context menu enhancements
[TortoiseGit.git] / src / TortoiseProc / LogCacheStatisticsDlg.h
blob90dbff6b3c67bb1b6747d64632d4943803482623
1 // TortoiseSVN - a Windows shell extension for easy version control
3 // Copyright (C) 2007-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 "Tooltip.h"
22 ///////////////////////////////////////////////////////////////
23 // forward declarations
24 ///////////////////////////////////////////////////////////////
26 namespace LogCache
28 struct CLogCacheStatisticsData;
32 class CLogCacheStatisticsDlg : public CDialog
34 DECLARE_DYNAMIC(CLogCacheStatisticsDlg)
36 public:
37 CLogCacheStatisticsDlg (const LogCache::CLogCacheStatisticsData& data, CWnd * pParentWnd = NULL);
38 virtual ~CLogCacheStatisticsDlg();
40 enum { IDD = IDD_LOGCACHESTATISTICS };
42 protected:
43 virtual void DoDataExchange(CDataExchange* pDX);
44 virtual BOOL OnInitDialog();
45 virtual BOOL PreTranslateMessage(MSG* pMsg);
47 DECLARE_MESSAGE_MAP()
49 private:
51 CString sizeRAM;
52 CString sizeDisk;
53 CString connectionState;
54 CString lastRead;
55 CString lastWrite;
56 CString lastHeadUpdate;
57 CString authors;
58 CString paths;
59 CString pathElements;
60 CString skipRanges;
61 CString wordTokens;
62 CString pairTokens;
63 CString textSize;
64 CString uncompressedSize;
65 CString maxRevision;
66 CString revisionCount;
67 CString changesTotal;
68 CString changedRevisions;
69 CString changesMissing;
70 CString mergesTotal;
71 CString mergesRevisions;
72 CString mergesMissing;
73 CString userRevpropsTotal;
74 CString userRevpropsRevisions;
75 CString userRevpropsMissing;
77 CString DateToString (__time64_t time);
78 CString ToString (__int64 value);
80 CToolTips m_tooltips;