forked from qt-creator/qt-creator
Remove #include <utils/fileutils.h> from most header files
It has some platform specific warts, filepath.h is somewhat cheaper and less ugly overall. Partially clean up surroundings Change-Id: Ida1fd470ec020f69c446109427f92a08e879789f Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/filepath.h>
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <QComboBox>
|
||||
|
||||
19
src/plugins/mesonprojectmanager/buildsystemfilesparser.h
Normal file
19
src/plugins/mesonprojectmanager/buildsystemfilesparser.h
Normal file
@@ -0,0 +1,19 @@
|
||||
// Copyright (C) 2020 Alexis Jeandet.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common.h"
|
||||
#include "mesonpluginconstants.h"
|
||||
|
||||
#include <QFile>
|
||||
#include <QJsonArray>
|
||||
#include <QJsonDocument>
|
||||
#include <QJsonObject>
|
||||
#include <QJsonValue>
|
||||
|
||||
namespace MesonProjectManager {
|
||||
namespace Internal {
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace MesonProjectManager
|
||||
22
src/plugins/mesonprojectmanager/projecttree.h
Normal file
22
src/plugins/mesonprojectmanager/projecttree.h
Normal file
@@ -0,0 +1,22 @@
|
||||
// Copyright (C) 2020 Alexis Jeandet.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "mesoninfoparser.h"
|
||||
#include "mesonprojectnodes.h"
|
||||
|
||||
#include <utils/filepath.h>
|
||||
|
||||
namespace MesonProjectManager::Internal {
|
||||
|
||||
class ProjectTree
|
||||
{
|
||||
public:
|
||||
ProjectTree();
|
||||
static std::unique_ptr<MesonProjectNode> buildTree(const Utils::FilePath &srcDir,
|
||||
const TargetsList &targets,
|
||||
const Utils::FilePaths &bsFiles);
|
||||
};
|
||||
|
||||
} // MesonProjectManager::Internal
|
||||
@@ -4,7 +4,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/filepath.h>
|
||||
|
||||
#include <QDir>
|
||||
#include <QVariant>
|
||||
|
||||
Reference in New Issue
Block a user