2018-01-29 08:43:44 +01:00
|
|
|
/****************************************************************************
|
|
|
|
|
**
|
|
|
|
|
** Copyright (C) 2018 The Qt Company Ltd.
|
|
|
|
|
** Contact: https://www.qt.io/licensing/
|
|
|
|
|
**
|
|
|
|
|
** This file is part of Qt Creator.
|
|
|
|
|
**
|
|
|
|
|
** Commercial License Usage
|
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
|
** accordance with the commercial license agreement provided with the
|
|
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
|
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
|
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
|
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
|
|
|
|
**
|
|
|
|
|
** GNU General Public License Usage
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
|
|
|
** General Public License version 3 as published by the Free Software
|
|
|
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
|
|
|
** included in the packaging of this file. Please review the following
|
|
|
|
|
** information to ensure the GNU General Public License requirements will
|
|
|
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
|
|
|
|
**
|
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2019-02-14 19:04:26 +01:00
|
|
|
#include "target.h"
|
2020-02-03 13:20:09 +01:00
|
|
|
#include "taskhub.h"
|
2019-02-14 19:04:26 +01:00
|
|
|
|
2018-01-29 08:43:44 +01:00
|
|
|
#include <projectexplorer/kit.h>
|
|
|
|
|
|
|
|
|
|
#include <utils/fileutils.h>
|
|
|
|
|
|
|
|
|
|
namespace ProjectExplorer {
|
|
|
|
|
|
|
|
|
|
class Project : public QObject {
|
|
|
|
|
public:
|
2018-09-26 14:10:35 +02:00
|
|
|
Project() = default;
|
|
|
|
|
|
2019-07-24 11:01:47 +02:00
|
|
|
Utils::FilePath projectDirectory() const { return {}; }
|
2018-08-14 13:07:04 +02:00
|
|
|
|
2019-07-24 11:01:47 +02:00
|
|
|
Utils::FilePath rootProjectDirectory() const { return rootProjectDirectoryPath; }
|
2018-01-29 08:43:44 +01:00
|
|
|
|
2019-02-14 19:04:26 +01:00
|
|
|
Target *activeTarget() const { return {}; }
|
2019-04-07 20:46:06 +02:00
|
|
|
|
2020-06-13 20:55:36 +02:00
|
|
|
QVariant namedSettings(const QString &name) const { return settings[name]; }
|
2019-05-22 12:26:58 +02:00
|
|
|
void setNamedSettings(const QString &name, const QVariant &value) { settings[name] = value; }
|
|
|
|
|
|
2019-07-24 11:01:47 +02:00
|
|
|
Utils::FilePath rootProjectDirectoryPath;
|
2019-05-22 12:26:58 +02:00
|
|
|
mutable std::map<QString, QVariant> settings;
|
2019-02-14 19:04:26 +01:00
|
|
|
};
|
|
|
|
|
} // namespace ProjectExplorer
|