Add an option to the TortoiseGitMerge settings dialog to specify the number of contex...
[TortoiseGit.git] / src / TortoiseGitBlame / MainFrm.h
blobdad5926a317269eb765ffbe07033e62a0a3a5d12
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2008-2011,2013 - 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.
21 // MainFrm.h : interface of the CMainFrame class
24 #pragma once
25 #include "OutputWnd.h"
26 #include "PropertiesWnd.h"
28 class CMainFrame : public CFrameWndEx
31 protected: // create from serialization only
32 CMainFrame();
33 DECLARE_DYNCREATE(CMainFrame)
34 virtual void OnUpdateFrameTitle(BOOL bAddToTitle)
36 CFrameWndEx::OnUpdateFrameTitle( bAddToTitle);
38 // Attributes
39 public:
41 // Operations
42 public:
44 // Overrides
45 public:
46 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
47 virtual BOOL LoadFrame(UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, CWnd* pParentWnd = NULL, CCreateContext* pContext = NULL);
49 // Implementation
50 public:
51 virtual ~CMainFrame();
52 #ifdef _DEBUG
53 virtual void AssertValid() const;
54 virtual void Dump(CDumpContext& dc) const;
55 #endif
57 COutputWnd m_wndOutput;
58 CPropertiesWnd m_wndProperties;
59 CMFCStatusBar m_wndStatusBar;
60 protected: // control bar embedded members
61 CMFCMenuBar m_wndMenuBar;
62 CMFCToolBar m_wndToolBar;
63 CMFCToolBarImages m_UserImages;
65 // Generated message map functions
66 protected:
67 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
68 afx_msg void OnUpdateHelpFinder(CCmdUI *pCmdUI);
69 afx_msg void OnViewCustomize();
70 afx_msg LRESULT OnToolbarCreateNew(WPARAM wp, LPARAM lp);
71 afx_msg void OnApplicationLook(UINT id);
72 afx_msg void OnUpdateApplicationLook(CCmdUI* pCmdUI);
73 afx_msg LRESULT OnTaskbarButtonCreated(WPARAM wParam, LPARAM lParam);
74 DECLARE_MESSAGE_MAP()
76 BOOL CreateDockingWindows();
77 void SetDockingWindowIcons(BOOL bHiColorIcons);