OSDN Git Service

ProgressDlg: Changed 'OK' into 'Close' and 'Cancel' into 'Abort'
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / ProgressDlg.h
index d07aae3..1a7456f 100644 (file)
@@ -22,6 +22,7 @@ public:
        CString m_GitCmd;\r
        std::vector<CString> m_GitCmdList;\r
        bool m_bAutoCloseOnSuccess;\r
+       CString m_changeAbortButtonOnSuccessTo;\r
 \r
        CString m_LogFile;\r
 \r
@@ -37,6 +38,8 @@ public:
        BOOL              m_bShowCommand;       // whether to display the command in the log window (default true)\r
        CString           m_PreText;            // optional text to show in log window before running command\r
        CString           m_LogText;\r
+\r
+       bool                    m_bAbort;\r
 protected:\r
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support\r
        static UINT ProgressThreadEntry(LPVOID pVoid);\r
@@ -48,6 +51,8 @@ protected:
 \r
        LRESULT CProgressDlg::OnProgressUpdateUI(WPARAM wParam,LPARAM lParam);\r
 \r
+       void            OnCancel();\r
+\r
        \r
        DECLARE_MESSAGE_MAP()\r
 public:\r