From 2b4cadf1fe138bfa23ca42ffe63c9da5d4d8827c Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Wed, 13 Jan 2016 14:12:15 +0100 Subject: CppTools: Move ProjectPart in its own header file Also extracting inline HeaderPath class and change projects list in vector because the size is larger than a pointer. Change-Id: I885fdff3fe9bccc877634d1615249755f5b674fd Reviewed-by: Nikolai Kosjar --- src/plugins/cpptools/cppsourceprocessor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/cpptools/cppsourceprocessor.h') diff --git a/src/plugins/cpptools/cppsourceprocessor.h b/src/plugins/cpptools/cppsourceprocessor.h index 2b4d805a54..e72ae45062 100644 --- a/src/plugins/cpptools/cppsourceprocessor.h +++ b/src/plugins/cpptools/cppsourceprocessor.h @@ -66,7 +66,7 @@ public: ~CppSourceProcessor(); void setWorkingCopy(const CppTools::WorkingCopy &workingCopy); - void setHeaderPaths(const ProjectPart::HeaderPaths &headerPaths); + void setHeaderPaths(const ProjectPartHeaderPaths &headerPaths); void setLanguageFeatures(CPlusPlus::LanguageFeatures languageFeatures); void setTodo(const QSet &files); @@ -80,7 +80,7 @@ public: void setGlobalSnapshot(const CPlusPlus::Snapshot &snapshot) { m_globalSnapshot = snapshot; } private: - void addFrameworkPath(const ProjectPart::HeaderPath &frameworkPath); + void addFrameworkPath(const ProjectPartHeaderPath &frameworkPath); CPlusPlus::Document::Ptr switchCurrentDocument(CPlusPlus::Document::Ptr doc); @@ -116,7 +116,7 @@ private: DocumentCallback m_documentFinished; CPlusPlus::Environment m_env; CPlusPlus::Preprocessor m_preprocess; - ProjectPart::HeaderPaths m_headerPaths; + ProjectPartHeaderPaths m_headerPaths; CPlusPlus::LanguageFeatures m_languageFeatures; CppTools::WorkingCopy m_workingCopy; QSet m_included; -- cgit v1.2.1