class LineFiltersList;
class TempFile;
struct FileLocation;
+class SourceControl;
class DropHandler;
typedef std::shared_ptr<TempFile> TempFilePtr;
CString SetStatus(LPCTSTR status);
void ClearStatusbarItemCount();
void ApplyDiffOptions();
- void ApplyViewWhitespace();
- void SetEOLMixed(BOOL bAllow);
void SelectFilter();
void StartFlashing();
bool AskCloseConfirmation();
protected:
virtual ~CMainFrame();
+
// Public implementation data
public:
BOOL m_bFirstTime; /**< If first time frame activated, get pos from reg */
afx_msg void OnMeasureItem(int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct);
afx_msg LRESULT OnMenuChar(UINT nChar, UINT nFlags, CMenu* pMenu) ;
afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu);
- afx_msg void OnOptionsShowDifferent();
- afx_msg void OnOptionsShowIdentical();
- afx_msg void OnOptionsShowUniqueLeft();
- afx_msg void OnOptionsShowUniqueRight();
- afx_msg void OnOptionsShowBinaries();
- afx_msg void OnOptionsShowSkipped();
- afx_msg void OnUpdateOptionsShowdifferent(CCmdUI* pCmdUI);
- afx_msg void OnUpdateOptionsShowidentical(CCmdUI* pCmdUI);
- afx_msg void OnUpdateOptionsShowuniqueleft(CCmdUI* pCmdUI);
- afx_msg void OnUpdateOptionsShowuniqueright(CCmdUI* pCmdUI);
- afx_msg void OnUpdateOptionsShowBinaries(CCmdUI* pCmdUI);
- afx_msg void OnUpdateOptionsShowSkipped(CCmdUI* pCmdUI);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnFileOpen();
afx_msg void OnHelpGnulicense();
afx_msg void OnHelpContents();
afx_msg void OnUpdateHelpContents(CCmdUI* pCmdUI);
afx_msg void OnClose();
- afx_msg void OnViewWhitespace();
- afx_msg void OnUpdateViewWhitespace(CCmdUI* pCmdUI);
afx_msg void OnToolsGeneratePatch();
afx_msg void OnDropFiles(const std::vector<String>& files);
- afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
afx_msg void OnUpdatePluginUnpackMode(CCmdUI* pCmdUI);
afx_msg void OnPluginUnpackMode(UINT nID);
afx_msg void OnUpdatePluginPrediffMode(CCmdUI* pCmdUI);
afx_msg void OnUpdateDiffCaseSensitive(CCmdUI* pCmdUI);
afx_msg void OnDiffIgnoreEOL();
afx_msg void OnUpdateDiffIgnoreEOL(CCmdUI* pCmdUI);
+ afx_msg void OnIncludeSubfolders();
+ afx_msg void OnUpdateIncludeSubfolders(CCmdUI* pCmdUI);
afx_msg void OnCompareMethod(UINT nID);
afx_msg void OnUpdateCompareMethod(CCmdUI* pCmdUI);
afx_msg void OnMRUs(UINT nID);
private:
void addToMru(LPCTSTR szItem, LPCTSTR szRegSubKey, UINT nMaxItems = 20);
void FileNew(int nPanes);
- const OpenDocList &GetAllOpenDocs();
- const MergeDocList &GetAllMergeDocs();
- const DirDocList &GetAllDirDocs();
- const HexMergeDocList &GetAllHexMergeDocs();
- void RedisplayAllDirDocs();
- CMergeDoc * GetMergeDocToShow(int nFiles, CDirDoc * pDirDoc);
- CHexMergeDoc * GetHexMergeDocToShow(int nDirs, CDirDoc * pDirDoc);
- CDirDoc * GetDirDocToShow(int nDirs, BOOL * pNew);
+ OpenDocList &GetAllOpenDocs();
+ MergeDocList &GetAllMergeDocs();
+ DirDocList &GetAllDirDocs();
+ HexMergeDocList &GetAllHexMergeDocs();
void UpdateFont(FRAMETYPE frame);
BOOL CreateToolbar();
BOOL CreateComboBoxOnToolbar();