20#ifndef DIALOG_GIT_REPOSITORY_H_
21#define DIALOG_GIT_REPOSITORY_H_
32 wxString aURL = wxEmptyString );
37 m_ConnType->SetSelection(
static_cast<int>( aType ) );
80 void OnUpdateUI( wxUpdateUIEvent& event )
override;
82 void OnOKClick( wxCommandEvent& event )
override;
88 void onCbCustom( wxCommandEvent& event )
override;
wxButton * m_sdbSizerCancel
DIALOG_GIT_REPOSITORY_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Git Repository"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxCAPTION|wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxTextCtrl * m_txtPassword
wxTextCtrl * m_txtUsername
wxFilePickerCtrl * m_fpSSHKey
void OnSelectConnType(wxCommandEvent &event) override
void SetRepoType(KIGIT_COMMON::GIT_CONN_TYPE aType)
void SetRepoSSHPath(const wxString &aPath)
KIGIT_COMMON::GIT_CONN_TYPE GetRepoType() const
void OnFileUpdated(wxFileDirPickerEvent &event) override
void SetPassword(const wxString &aPassword)
void onCbCustom(wxCommandEvent &event) override
wxString GetRepoSSHPath() const
~DIALOG_GIT_REPOSITORY() override
void SetEncrypted(bool aEncrypted=true)
void OnLocationExit(wxFocusEvent &event) override
DIALOG_GIT_REPOSITORY(wxWindow *aParent, git_repository *aRepository, wxString aURL=wxEmptyString)
void setDefaultSSHKey(const wxString &aHost)
void OnTestClick(wxCommandEvent &event) override
wxString GetRepoURL() const
void SetRepoURL(const wxString &aURL)
wxString GetUsername() const
void OnOKClick(wxCommandEvent &event) override
wxString GetRepoName() const
void SetUsername(const wxString &aUsername)
virtual bool TransferDataToWindow() override
void updateAuthControls()
bool extractClipboardData()
void OnUpdateUI(wxUpdateUIEvent &event) override
wxString GetPassword() const
void SetSkipButtonLabel(const wxString &aLabel)
git_repository * m_repository
static REMOTE_URL ParseRemoteURL(const wxString &aURL)
A transport address with any embedded credentials extracted.