VcsManager: Add method to get additionalToolsPaths from all IVcsControls

Change-Id: I87910a5a3ccc8e9e00d1b9081ea860832b9fe576
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2014-03-05 11:27:21 +01:00
parent 85d3cc84c7
commit c5dfa1f2bf
2 changed files with 29 additions and 1 deletions

View File

@@ -90,6 +90,12 @@ public:
static QString msgAddToVcsFailedTitle();
static QString msgToAddToVcsFailed(const QStringList &files, const IVersionControl *vc);
/*!
* Return a list of paths where tools that came with the VCS may be installed.
* This is helpful on windows where e.g. git comes with a lot of nice unix tools.
*/
static QStringList additionalToolsPath();
signals:
void repositoryChanged(const QString &repository);
@@ -98,6 +104,7 @@ public slots:
private slots:
static void configureVcs();
void handleConfigurationChanges();
private:
explicit VcsManager(QObject *parent = 0);