summaryrefslogtreecommitdiff
path: root/src/tools/clangpchmanagerbackend/source/pchmanagerserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clangpchmanagerbackend/source/pchmanagerserver.h')
-rw-r--r--src/tools/clangpchmanagerbackend/source/pchmanagerserver.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/tools/clangpchmanagerbackend/source/pchmanagerserver.h b/src/tools/clangpchmanagerbackend/source/pchmanagerserver.h
index 717ba03359..66b6c85e99 100644
--- a/src/tools/clangpchmanagerbackend/source/pchmanagerserver.h
+++ b/src/tools/clangpchmanagerbackend/source/pchmanagerserver.h
@@ -28,7 +28,6 @@
#include "clangpathwatcherinterface.h"
#include "clangpathwatchernotifier.h"
#include "pchcreatorinterface.h"
-#include "pchgeneratornotifierinterface.h"
#include "pchmanagerserverinterface.h"
#include "projectpartsinterface.h"
@@ -38,16 +37,16 @@
namespace ClangBackEnd {
class SourceRangesAndDiagnosticsForQueryMessage;
+class ProjectPartQueueInterface;
class PchManagerServer : public PchManagerServerInterface,
public ClangPathWatcherNotifier,
- public PchGeneratorNotifierInterface,
public IpcClientProvider<PchManagerClientInterface>
{
public:
PchManagerServer(ClangPathWatcherInterface &fileSystemWatcher,
- PchCreatorInterface &pchCreator,
+ ProjectPartQueueInterface &projectPartQueue,
ProjectPartsInterface &projectParts,
GeneratedFilesInterface &generatedFiles);
@@ -59,11 +58,10 @@ public:
void pathsWithIdsChanged(const Utils::SmallStringVector &ids) override;
void pathsChanged(const FilePathIds &filePathIds) override;
- void taskFinished(TaskFinishStatus status, const ProjectPartPch &projectPartPch) override;
private:
ClangPathWatcherInterface &m_fileSystemWatcher;
- PchCreatorInterface &m_pchCreator;
+ ProjectPartQueueInterface &m_projectPartQueue;
ProjectPartsInterface &m_projectParts;
GeneratedFilesInterface &m_generatedFiles;
};