14#ifndef GIT_REPO_MIXIN_H
15#define GIT_REPO_MIXIN_H
28 wxASSERT( aCommon !=
nullptr );
42 return m_common->GetCurrentBranchName();
78 return m_common->GetDifferentFiles();
102 return m_common->GetNextPublicKey();
174 return m_common->GetGitRootDirectory();
GIT_PROGRESS(wxWindow *aParent, int aMaxValue1, int aMaxValue2)
wxString GetCurrentBranchName() const
Get the current branch name.
void SetPassword(const wxString &aPassword)
Set the password.
std::pair< std::set< wxString >, std::set< wxString > > GetDifferentFiles() const
Get a pair of sets of files that differ locally from the remote repository.
std::vector< wxString > GetProjectDirs()
Get a list of project directories.
wxString GetPassword() const
Get the password.
git_repository * GetRepo() const
Get a pointer to the git repository.
void SetUsername(const wxString &aUsername)
Set the username.
std::vector< wxString > GetBranchNames() const
Get a list of branch names.
virtual ~KIGIT_REPO_MIXIN()
wxString GetUsername() const
Get the username.
wxString GetNextPublicKey()
Get the next public key.
wxString GetGitRootDirectory() const
Get the git root directory.
unsigned & TestedTypes()
Return the connection types that have been tested for authentication.
KIGIT_COMMON * GetCommon() const
Get the common object.
KIGIT_REPO_MIXIN(KIGIT_COMMON *aCommon)
KIGIT_COMMON::GIT_CONN_TYPE GetConnType() const
Get the connection type.
void SetSSHKey(const wxString &aSSHKey)
Set the SSH key.
wxString GetRemotename() const
Get the remote name.
void ResetNextKey()
Reset the next public key to test.
#define APIEXPORT
Macros which export functions from a DLL/DSO.