forked from qt-creator/qt-creator
VcsBaseDiffEditorController: Make post processing reusable
Move creating the post process task into vcs base class and reuse it in subclasses. Change-Id: Ibd81d1640524980c0554a5d0ddc41b96ecd7f73f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -38,9 +38,10 @@ public:
|
||||
void setVcsTimeoutS(int value);
|
||||
|
||||
protected:
|
||||
Utils::Tasking::TreeStorage<QString> inputStorage() const;
|
||||
Utils::Tasking::TaskItem postProcessTask();
|
||||
|
||||
void setupCommand(Utils::QtcProcess &process, const QStringList &args) const;
|
||||
void setupDiffProcessor(Utils::AsyncTask<QList<DiffEditor::FileData>> &processor,
|
||||
const QString &patch) const;
|
||||
void runCommand(const QList<QStringList> &args, RunFlags flags, QTextCodec *codec = nullptr);
|
||||
virtual void processCommandOutput(const QString &output);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user