Refactor rebase commit list: Don't fill list again and again when reordering commits
[TortoiseGit.git] / src / TortoiseProc / StashSave.h
blob49a29639cb75d83afaf9eaa92e965619d856e33f
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2011, 2013 Sven Strickroth, <email@cs-ware.de>
4 //
5 // Based on PushDlg.cpp
6 // Copyright (C) 2003-2008 - TortoiseGit
8 // This program is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU General Public License
10 // as published by the Free Software Foundation; either version 2
11 // of the License, or (at your option) any later version.
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the Free Software Foundation,
20 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 #pragma once
25 #include "HorizontalResizableStandAloneDialog.h"
27 class CStashSaveDlg : public CHorizontalResizableStandAloneDialog
29 DECLARE_DYNAMIC(CStashSaveDlg)
31 public:
32 CStashSaveDlg(CWnd* pParent = nullptr); // standard constructor
33 virtual ~CStashSaveDlg();
35 // Dialog Data
36 enum { IDD = IDD_STASH };
38 protected:
39 virtual BOOL OnInitDialog() override;
40 virtual void DoDataExchange(CDataExchange* pDX) override; // DDX/DDV support
42 DECLARE_MESSAGE_MAP()
44 afx_msg void OnBnClickedOk();
45 afx_msg void OnBnClickedCheckUntracked();
46 afx_msg void OnBnClickedCheckAll();
48 public:
49 CString m_sMessage;
50 BOOL m_bIncludeUntracked;
51 BOOL m_bAll;