forked from qt-creator/qt-creator
VCS: Add 'Annotate' context menu entry to build issues task window.
This commit is contained in:
@@ -44,7 +44,8 @@ public:
|
||||
enum Operation {
|
||||
AddOperation, DeleteOperation, OpenOperation,
|
||||
CreateRepositoryOperation,
|
||||
SnapshotOperations
|
||||
SnapshotOperations,
|
||||
AnnotateOperation
|
||||
};
|
||||
|
||||
explicit IVersionControl(QObject *parent = 0) : QObject(parent) {}
|
||||
@@ -126,6 +127,11 @@ public:
|
||||
*/
|
||||
virtual bool vcsRemoveSnapshot(const QString &topLevel, const QString &name) = 0;
|
||||
|
||||
/*!
|
||||
* Display annotation for a file and scroll to line
|
||||
*/
|
||||
virtual bool vcsAnnotate(const QString &file, int line) = 0;
|
||||
|
||||
signals:
|
||||
void repositoryChanged(const QString &repository);
|
||||
void filesChanged(const QStringList &files);
|
||||
|
||||
Reference in New Issue
Block a user