forked from qt-creator/qt-creator
qmljs: move defaultProjectInfoForProject to the qmljs library
This removes qmakeprojectmanager and qmlprojectmanager dependency on qmljstools. Qmlprojectmanager still imports qmltoolsconstants.h for a constant but that gives no runtime dependency. Change-Id: Ifd2e76500a3b27a21937603925f03a70049900e1 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -1399,6 +1399,12 @@ ModelManagerInterface::ProjectInfo ModelManagerInterface::defaultProjectInfo() c
|
||||
return m_defaultProjectInfo;
|
||||
}
|
||||
|
||||
ModelManagerInterface::ProjectInfo ModelManagerInterface::defaultProjectInfoForProject(
|
||||
ProjectExplorer::Project *) const
|
||||
{
|
||||
return ModelManagerInterface::ProjectInfo();
|
||||
}
|
||||
|
||||
void ModelManagerInterface::setDefaultVContext(const ViewerContext &vContext)
|
||||
{
|
||||
QMutexLocker locker(&m_mutex);
|
||||
|
||||
@@ -198,6 +198,8 @@ public:
|
||||
bool autoComplete = true) const;
|
||||
void setDefaultVContext(const ViewerContext &vContext);
|
||||
virtual ProjectInfo defaultProjectInfo() const;
|
||||
virtual ProjectInfo defaultProjectInfoForProject(ProjectExplorer::Project *project) const;
|
||||
|
||||
|
||||
// Blocks until all parsing threads are done. Used for testing.
|
||||
void joinAllThreads();
|
||||
|
||||
Reference in New Issue
Block a user