Debian Codegraph @

git/GitResetDlg.h

raw
1 #ifndef GITRESETDLG_H
2 #define GITRESETDLG_H
3 #include "gitui.h"
4
5 class GitResetDlg : public GitResetDlgBase
6 {
7 public:
8 GitResetDlg(wxWindow* parent, const wxArrayString& filesToRemove, const wxArrayString& filesToRevert);
9 virtual ~GitResetDlg();
10
11 wxArrayString GetItemsToRevert() const;
12 wxArrayString GetItemsToRemove() const;
13
14 protected:
15 virtual void OnToggleAllRevert(wxCommandEvent& event);
16 virtual void OnToggleAllRemove(wxCommandEvent& event);
17 virtual void OnToggleAllRevertUI(wxUpdateUIEvent& event);
18 virtual void OnToggleAllRemoveUI(wxUpdateUIEvent& event);
19
20 bool m_toggleReverts;
21 bool m_toggleRemoves;
22 };
23 #endif // GITRESETDLG_H