OSDN Git Service

Fix Issue #111: Undo Add does not work
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / BrowseRefsDlg.h
index 5bfa067..31dd7de 100644 (file)
@@ -65,8 +65,12 @@ public:
                eCmd_CreateBranch,\r
                eCmd_CreateTag,\r
                eCmd_DeleteBranch,\r
+               eCmd_DeleteRemoteBranch,\r
                eCmd_DeleteTag,\r
-               eCmd_ShowReflog\r
+               eCmd_ShowReflog,\r
+               eCmd_Diff,\r
+               eCmd_Fetch,\r
+               eCmd_Switch\r
        };\r
 \r
        enum eCol\r
@@ -88,7 +92,7 @@ public:
        afx_msg void OnBnClickedOk();\r
        virtual BOOL OnInitDialog();\r
 \r
-       CString                 GetSelectedRef(bool onlyIfLeaf);\r
+       CString                 GetSelectedRef(bool onlyIfLeaf, bool pickFirstSelIfMultiSel = false);\r
 \r
        void                    Refresh(CString selectRef = CString());\r
 \r
@@ -100,7 +104,8 @@ public:
 \r
        bool                    SelectRef(CString refName, bool bExactMatch);\r
 \r
-       bool                    ConfirmDeleteRef(CString completeRefName);\r
+       bool                    ConfirmDeleteRef(VectorPShadowTree& leafs);\r
+       bool                    DoDeleteRefs(VectorPShadowTree& leafs, bool bForce);\r
        bool                    DoDeleteRef(CString completeRefName, bool bForce);\r
 \r
        CString                 GetFullRefName(CString partialRefName);\r
@@ -122,6 +127,7 @@ public:
        void            OnContextMenu_ListRefLeafs(CPoint point);\r
        void            OnContextMenu_RefTreeCtrl(CPoint point);\r
 \r
+       bool            AreAllFrom(VectorPShadowTree& leafs, const wchar_t* from);\r
        void            ShowContextMenu(CPoint point, HTREEITEM hTreePos, VectorPShadowTree& selectedLeafs);\r
        virtual BOOL PreTranslateMessage(MSG* pMsg);\r
        afx_msg void OnLvnColumnclickListRefLeafs(NMHDR *pNMHDR, LRESULT *pResult);\r