forked from qt-creator/qt-creator
VCS: Add vcsDescribe
Already exists in all implementations, but there was no common declaration. Change-Id: Ieb3d10d1936c207722b5001712bce41e8114dcdc Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
e9df7825fa
commit
5ebe34a332
@@ -211,6 +211,11 @@ public:
|
||||
*/
|
||||
virtual QString vcsMakeWritableText() const;
|
||||
|
||||
/*!
|
||||
* Display details of reference
|
||||
*/
|
||||
virtual void vcsDescribe(const QString &workingDirectory, const QString &reference) = 0;
|
||||
|
||||
/*!
|
||||
* 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.
|
||||
@@ -297,6 +302,7 @@ public:
|
||||
bool vcsMove(const QString &, const QString &) override { return false; }
|
||||
bool vcsCreateRepository(const QString &) override { return false; }
|
||||
void vcsAnnotate(const QString &, int) override {}
|
||||
void vcsDescribe(const QString &, const QString &) override {}
|
||||
|
||||
private:
|
||||
Id m_id;
|
||||
|
||||
Reference in New Issue
Block a user