diff options
Diffstat (limited to 'src/plugins/cpptools/baseeditordocumentparser.h')
-rw-r--r-- | src/plugins/cpptools/baseeditordocumentparser.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/cpptools/baseeditordocumentparser.h b/src/plugins/cpptools/baseeditordocumentparser.h index 11f76fa67d..92f919e96d 100644 --- a/src/plugins/cpptools/baseeditordocumentparser.h +++ b/src/plugins/cpptools/baseeditordocumentparser.h @@ -25,6 +25,7 @@ #pragma once +#include "cpplanguage.h" #include "cpptools_global.h" #include "cppworkingcopy.h" #include "projectpart.h" @@ -55,15 +56,18 @@ public: struct UpdateParams { UpdateParams(const WorkingCopy &workingCopy, const ProjectExplorer::Project *activeProject, + Language languagePreference, bool hasActiveProjectChanged) : workingCopy(workingCopy) , activeProject(activeProject) + , languagePreference(languagePreference) , hasActiveProjectChanged(hasActiveProjectChanged) { } WorkingCopy workingCopy; const ProjectExplorer::Project *activeProject = nullptr; + Language languagePreference = Language::Cxx; bool hasActiveProjectChanged = false; }; @@ -92,6 +96,7 @@ protected: const Configuration &config, const State &state, const ProjectExplorer::Project *activeProject, + Language languagePreference, bool hasActiveProjectChanged); mutable QMutex m_stateAndConfigurationMutex; |