forked from qt-creator/qt-creator
CppTools: Move RawProjectPart to ProjectExplorer
Doesn't have any dependencies into CppTools anymore, therefore moving it reduces the dependencies of the project managers to CppTools as well. Change-Id: Ibe728abe59eb88a8877943dca1f48a85163e27ac Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -27,10 +27,10 @@
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
#include "cpprawprojectpart.h"
|
||||
#include "projectpart.h"
|
||||
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/rawprojectpart.h>
|
||||
#include <projectexplorer/toolchain.h>
|
||||
|
||||
#include <QHash>
|
||||
@@ -70,12 +70,12 @@ public:
|
||||
ProjectUpdateInfo(ProjectExplorer::Project *project,
|
||||
const KitInfo &kitInfo,
|
||||
const Utils::Environment &env,
|
||||
const RawProjectParts &rawProjectParts);
|
||||
const ProjectExplorer::RawProjectParts &rawProjectParts);
|
||||
bool isValid() const { return project && !rawProjectParts.isEmpty(); }
|
||||
|
||||
public:
|
||||
QPointer<ProjectExplorer::Project> project;
|
||||
QVector<RawProjectPart> rawProjectParts;
|
||||
ProjectExplorer::RawProjectParts rawProjectParts;
|
||||
|
||||
const ProjectExplorer::ToolChain *cToolChain = nullptr;
|
||||
const ProjectExplorer::ToolChain *cxxToolChain = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user