forked from qt-creator/qt-creator
Add function for getting DiffService
Hides the implementation detail that this is fetched from the object pool from most places. Change-Id: I0ea06c877fade50f62b62011bbc0d2f89fa8e885 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "core_global.h"
|
||||
|
||||
#include <QObject>
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QStringList)
|
||||
@@ -35,6 +36,8 @@ namespace Core {
|
||||
class CORE_EXPORT DiffService
|
||||
{
|
||||
public:
|
||||
static DiffService *instance();
|
||||
|
||||
virtual ~DiffService() {}
|
||||
|
||||
virtual void diffFiles(const QString &leftFileName, const QString &rightFileName) = 0;
|
||||
|
||||
Reference in New Issue
Block a user