aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/project.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/project.h')
-rw-r--r--src/plugins/projectexplorer/project.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/project.h b/src/plugins/projectexplorer/project.h
index 42fd4282c5..64236a39a2 100644
--- a/src/plugins/projectexplorer/project.h
+++ b/src/plugins/projectexplorer/project.h
@@ -165,8 +165,10 @@ public:
// Set project files that will be watched and by default trigger the same callback
// as the main project file.
using DocGenerator = std::function<std::unique_ptr<Core::IDocument>(const Utils::FilePath &)>;
+ using DocUpdater = std::function<void(Core::IDocument *)>;
void setExtraProjectFiles(const QSet<Utils::FilePath> &projectDocumentPaths,
- const DocGenerator docGenerator = {});
+ const DocGenerator &docGenerator = {},
+ const DocUpdater &docUpdater = {});
void setDisplayName(const QString &name);
void setProjectLanguage(Utils::Id id, bool enabled);