24#ifndef DIALOG_GIT_REPOSITORY_H_ 
   25#define DIALOG_GIT_REPOSITORY_H_ 
   36                           wxString aURL = wxEmptyString );
 
   41        m_ConnType->SetSelection( 
static_cast<int>( aType ) );
 
 
   65        if( url.StartsWith( 
"https://" ) )
 
   67        else if( url.StartsWith( 
"http://" ) )
 
   69        else if( url.StartsWith( 
"ssh://" ) )
 
 
   98    void OnUpdateUI( wxUpdateUIEvent& event ) 
override;
 
  100    void OnOKClick( wxCommandEvent& event ) 
override;
 
  103    void OnTestClick( wxCommandEvent& event ) 
override;
 
  106    void onCbCustom( wxCommandEvent& event ) 
override;
 
  114    std::tuple<bool,wxString,wxString,wxString> 
isValidHTTPS( 
const wxString& url );
 
  115    std::tuple<bool,wxString, wxString> 
isValidSSH( 
const wxString& url );
 
 
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
 
const wxString & GetFullURL() const
 
void SetRepoType(KIGIT_COMMON::GIT_CONN_TYPE aType)
 
std::tuple< bool, wxString, wxString > isValidSSH(const wxString &url)
 
void SetRepoSSHPath(const wxString &aPath)
 
KIGIT_COMMON::GIT_CONN_TYPE GetRepoType() const
 
void OnFileUpdated(wxFileDirPickerEvent &event) override
 
void SetRepoName(const wxString &aName)
 
wxString GetBareRepoURL() const
Get the Bare Repo U R L object.
 
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 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)
 
std::tuple< bool, wxString, wxString, wxString > isValidHTTPS(const wxString &url)
 
void updateAuthControls()
 
bool extractClipboardData()
 
void OnUpdateUI(wxUpdateUIEvent &event) override
 
wxString GetPassword() const
 
void SetSkipButtonLabel(const wxString &aLabel)
 
git_repository * m_repository