📄 vssreporterdlg.h
字号:
// vssreporterDlg.h : header file
//
#if !defined(AFX_VSSREPORTERDLG_H__C4F27D3F_4190_4E34_995E_C4A6C0B8BF7D__INCLUDED_)
#define AFX_VSSREPORTERDLG_H__C4F27D3F_4190_4E34_995E_C4A6C0B8BF7D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "vsstreectrl.h"
#include <afxtempl.h>
#include "config.h"
/////////////////////////////////////////////////////////////////////////////
// CVssreporterDlg dialog
class CVssreporterDlg : public CDialog
{
// Construction
public:
CVssreporterDlg(const CString &strConfigFile,
CWnd* pParent = NULL);
virtual ~CVssreporterDlg();
protected:
// Dialog Data
//{{AFX_DATA(CVssreporterDlg)
enum { IDD = IDD_VSSREPORTER_DIALOG };
CListCtrl m_lcConfigs;
CComboBox m_cbDatabases;
CListCtrl m_lcFiles;
CVSSTreeCtrl m_tcVSS;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVssreporterDlg)
public:
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CString m_sDbPath;
CString m_sPassword;
CString m_sUsername;
HICON m_hIcon;
CString m_sCurVSSPrjPath;
CSize m_sizeOrg;
CImageList m_ilFolders, m_ilResults;
CString m_strXMLConfigFile;
CconfigDoc m_pConfigXML;
CConfigsType *m_pConfig;
// Generated message map functions
//{{AFX_MSG(CVssreporterDlg)
virtual BOOL OnInitDialog();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnSelchangedVsstree(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBrowsedatabase();
afx_msg void OnClose();
afx_msg void OnDestroy();
afx_msg void OnAddconfig();
afx_msg void OnDeleteconfig();
afx_msg void OnItemclickConfiglist(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnItemclickFilelist(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnEdit();
//}}AFX_MSG
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
DECLARE_MESSAGE_MAP()
COleDateTime FindLabel(CString sVSSItem, LPCTSTR szLabel, BOOL bFirst); // else last
void RegSaveSettings();
void RegLoadSettings();
CString GetSelectedResult(int nCol = 0, int nItem = 0);
CString GetLocalPath(LPCTSTR szVssProject, LPCTSTR szFileName);
BOOL IsVSSRegistered();
static CString GetVSSPath();
void SetSortColumn(int nCol, BOOL bAscending = -1);
CString GetVssFile(LPCTSTR szName, LPCTSTR szPath, int nVersion = -1);
void FlashConfigsList();
void UpdateFileList(const CString &strCurProject);
void AddProject(const CString &strProjectName,
const CString &strVSSPath,
const CString &strProjectFile,
const CString &strBuildType,
const CString &strVCVersion );
COleDateTime GetVSSItemLastTime(IVSSItemPtr pItem);
void SetButtonState(const int nState);
BOOL IsProjectFile(const CString &strFileName);
int GetFirstSelectedPos(CListCtrl &listc);
BOOL IsExistProject(const CString &strVSSPath,
const CString &strProjectFile);
void DelProject(const CString &strVSSPath,
const CString &strProjectFile);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VSSREPORTERDLG_H__C4F27D3F_4190_4E34_995E_C4A6C0B8BF7D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -