Debian Codegraph @

git/gitSettingsDlg.h

raw
1 //////////////////////////////////////////////////////////////////////////////
2 //////////////////////////////////////////////////////////////////////////////
3 //
4 // copyright : (C) 2014 Eran Ifrah
5 // file name : gitSettingsDlg.h
6 //
7 // -------------------------------------------------------------------------
8 // A
9 // _____ _ _ _ _
10 // / __ \ | | | | (_) |
11 // | / \/ ___ __| | ___| | _| |_ ___
12 // | | / _ \ / _ |/ _ \ | | | __/ _ )
13 // | \__/\ (_) | (_| | __/ |___| | || __/
14 // \____/\___/ \__,_|\___\_____/_|\__\___|
15 //
16 // F i l e
17 //
18 // This program is free software; you can redistribute it and/or modify
19 // it under the terms of the GNU General Public License as published by
20 // the Free Software Foundation; either version 2 of the License, or
21 // (at your option) any later version.
22 //
23 //////////////////////////////////////////////////////////////////////////////
24 //////////////////////////////////////////////////////////////////////////////
25
26 //////////////////////////////////////////////////////////////////////////////
27 //////////////////////////////////////////////////////////////////////////////
28 //
29 // copyright : (C) 2011 by René Kraus (aka upCASE)
30 //
31 //////////////////////////////////////////////////////////////////////////////
32
33 #ifndef __gitSettingsDlg__
34 #define __gitSettingsDlg__
35
36 #include "git.h"
37 #include "gitui.h"
38
39 class GitSettingsDlg : public GitSettingsDlgBase
40 {
41 wxString m_userEnteredRepoPath;
42 const wxString m_projectNameHash;
43
44 public:
45 GitSettingsDlg(wxWindow* parent, const wxString& localRepoPath, const wxString& userEnteredRepoPath, const wxString& projectNameHash);
46 virtual ~GitSettingsDlg();
47
48 const wxString GetNewGitRepoPath() const { return m_userEnteredRepoPath; }
49
50 protected:
51 virtual void OnLocalRepoUI(wxUpdateUIEvent& event);
52 virtual void OnOK(wxCommandEvent& event);
53 };
54
55 #endif //__gitSettingsDlg__