forked from qt-creator/qt-creator
LanguageClient: Add signal to inform about WorkDoneProgressEnd
... and make use of it in the clangd client to be able tell when background indexing has finished. Change-Id: I0f3c6f9646fd66ababd08c12b2f347da5f1a3729 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -47,11 +47,10 @@ class FollowSymbolInterface;
|
||||
class RefactoringEngineInterface;
|
||||
} // namespace CppTools
|
||||
|
||||
namespace LanguageClient { class Client; }
|
||||
|
||||
namespace ClangCodeModel {
|
||||
namespace Internal {
|
||||
|
||||
class ClangdClient;
|
||||
class ClangProjectSettings;
|
||||
|
||||
class ClangModelManagerSupport:
|
||||
@@ -79,7 +78,7 @@ public:
|
||||
|
||||
ClangProjectSettings &projectSettings(ProjectExplorer::Project *project) const;
|
||||
|
||||
LanguageClient::Client *clientForProject(const ProjectExplorer::Project *project);
|
||||
ClangdClient *clientForProject(const ProjectExplorer::Project *project);
|
||||
|
||||
static ClangModelManagerSupport *instance();
|
||||
|
||||
@@ -124,8 +123,7 @@ private:
|
||||
|
||||
void updateLanguageClient(ProjectExplorer::Project *project,
|
||||
const CppTools::ProjectInfo &projectInfo);
|
||||
LanguageClient::Client *createClient(ProjectExplorer::Project *project,
|
||||
const Utils::FilePath &jsonDbDir);
|
||||
ClangdClient *createClient(ProjectExplorer::Project *project, const Utils::FilePath &jsonDbDir);
|
||||
|
||||
private:
|
||||
UiHeaderOnDiskManager m_uiHeaderOnDiskManager;
|
||||
|
||||
Reference in New Issue
Block a user