forked from qt-creator/qt-creator
Utils/all: Move mime constants into a central place
They are reasonably standardized, and generally usable cross-plugin, so this can help to avoid a few cross-plugin compiletime dependencies. Change-Id: Icb2b010c3e12dee69df54ab16f6f8e90d9cffba6 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -17,8 +17,11 @@
|
||||
#include <projectexplorer/projectnodes.h>
|
||||
#include <projectexplorer/target.h>
|
||||
#include <projectexplorer/taskhub.h>
|
||||
|
||||
#include <qtsupport/qtkitaspect.h>
|
||||
|
||||
#include <utils/mimeconstants.h>
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
using namespace CMakeProjectManager::Internal;
|
||||
@@ -29,7 +32,7 @@ namespace CMakeProjectManager {
|
||||
\class CMakeProject
|
||||
*/
|
||||
CMakeProject::CMakeProject(const FilePath &fileName)
|
||||
: Project(Constants::CMAKE_MIMETYPE, fileName)
|
||||
: Project(Utils::Constants::CMAKE_MIMETYPE, fileName)
|
||||
{
|
||||
setId(CMakeProjectManager::Constants::CMAKE_PROJECT_ID);
|
||||
setProjectLanguages(Core::Context(ProjectExplorer::Constants::CXX_LANGUAGE_ID));
|
||||
|
||||
Reference in New Issue
Block a user