OSDN Git Service

Add url error message at syncdlg
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / SyncDlg.h
index b5b2e49..1ca5fa1 100644 (file)
@@ -59,8 +59,13 @@ protected:
        CGitStatusListCtrl m_InChangeFileList;\r
        CGitStatusListCtrl m_ConflictFileList;\r
 \r
        CGitStatusListCtrl m_InChangeFileList;\r
        CGitStatusListCtrl m_ConflictFileList;\r
 \r
+       virtual void LocalBranchChange(){FetchOutList();};\r
+       virtual void RemoteBranchChange(){FetchOutList();};\r
+\r
        void FetchOutList();\r
 \r
        void FetchOutList();\r
 \r
+       bool IsURL();\r
+\r
        void SetRemote(CString remote)\r
        {\r
                if(!remote.IsEmpty())\r
        void SetRemote(CString remote)\r
        {\r
                if(!remote.IsEmpty())\r
@@ -68,6 +73,10 @@ protected:
                        this->m_ctrlURL.AddString(remote);\r
                }\r
        }\r
                        this->m_ctrlURL.AddString(remote);\r
                }\r
        }\r
+       \r
+       CString m_OutLocalBranch;\r
+       CString m_OutRemoteBranch;\r
+\r
        DECLARE_MESSAGE_MAP()\r
 public:\r
        BOOL m_bAutoLoadPuttyKey;\r
        DECLARE_MESSAGE_MAP()\r
 public:\r
        BOOL m_bAutoLoadPuttyKey;\r
@@ -86,4 +95,6 @@ public:
        virtual BOOL OnInitDialog();\r
        afx_msg void OnBnClickedButtonManage();\r
        virtual BOOL PreTranslateMessage(MSG* pMsg);\r
        virtual BOOL OnInitDialog();\r
        afx_msg void OnBnClickedButtonManage();\r
        virtual BOOL PreTranslateMessage(MSG* pMsg);\r
+       afx_msg void OnCbenEndeditComboboxexUrl(NMHDR *pNMHDR, LRESULT *pResult);\r
+       afx_msg void OnCbnEditchangeComboboxexUrl();\r
 };\r
 };\r