1 /////////////////////////////////////////////////////////////////////////////
2 // WinMerge: an interactive diff/merge utility
3 // Copyright (C) 1997 Dean P. Grimm
4 // SPDX-License-Identifier: GPL-2.0-or-later
5 /////////////////////////////////////////////////////////////////////////////
9 * @brief Declaration file for CDirFrame
14 #include "EditorFilepathBar.h"
15 #include "MergeFrameCommon.h"
17 /////////////////////////////////////////////////////////////////////////////
21 * @brief Frame window for Directory Compare window
23 class CDirFrame : public CMergeFrameCommon
25 DECLARE_DYNCREATE(CDirFrame)
27 CDirFrame(); // protected constructor used by dynamic creation
36 void SetStatus(LPCTSTR szStatus);
37 void SetCompareMethodStatusDisplay(int nCompMethod);
38 void SetFilterStatusDisplay(LPCTSTR szFilter);
39 CStatusBar m_wndStatusBar;
40 IHeaderBar * GetHeaderInterface();
41 void UpdateResources();
44 // ClassWizard generated virtual function overrides
45 //{{AFX_VIRTUAL(CDirFrame)
47 virtual void ActivateFrame(int nCmdShow = -1);
48 virtual BOOL DestroyWindow();
52 CEditorFilePathBar m_wndFilePathBar;
55 // Generated message map functions
56 //{{AFX_MSG(CDirFrame)
57 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
58 afx_msg void OnClose();
59 afx_msg void OnSize(UINT nType, int cx, int cy);
65 * @brief Get the interface to the header (path) bar
67 inline IHeaderBar * CDirFrame::GetHeaderInterface() {
68 return &m_wndFilePathBar;