forked from eranif/codelite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSvnCommitDialog.h
43 lines (33 loc) · 1.07 KB
/
SvnCommitDialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef SVNCOMMITDIALOG_H
#define SVNCOMMITDIALOG_H
#include "wxcrafter.h"
#include "macros.h"
class Subversion2;
class IProcess;
class SvnCommitDialog : public SvnCommitDialogBaseClass
{
Subversion2 * m_plugin;
wxString m_url;
wxString m_repoPath;
IProcess* m_process;
wxString m_output;
wxStringMap_t m_cache;
wxString m_currentFile;
public:
static wxString NormalizeMessage(const wxString &message);
void OnChoiceMessage(wxCommandEvent &e);
public:
SvnCommitDialog(wxWindow* parent, Subversion2* plugin);
SvnCommitDialog(wxWindow* parent, const wxArrayString &paths, const wxString &url, Subversion2 *plugin, const wxString &repoPath);
virtual ~SvnCommitDialog();
wxString GetMesasge();
wxArrayString GetPaths();
protected:
void DoShowDiff(int selection);
protected:
DECLARE_EVENT_TABLE()
virtual void OnFileSelected(wxCommandEvent& event);
void OnProcessOutput(wxCommandEvent &e);
void OnProcessTerminatd(wxCommandEvent &e);
};
#endif // SVNCOMMITDIALOG_H