2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2009-03-10 14:20:07 +01:00
|
|
|
|
2016-02-04 13:08:13 +01:00
|
|
|
#pragma once
|
2009-03-10 14:20:07 +01:00
|
|
|
|
|
|
|
|
#include <projectexplorer/project.h>
|
2017-02-06 16:59:53 +01:00
|
|
|
|
2009-03-10 14:20:07 +01:00
|
|
|
namespace GenericProjectManager {
|
2009-03-18 13:33:00 +01:00
|
|
|
namespace Internal {
|
2011-11-24 13:00:01 +01:00
|
|
|
|
2009-03-10 14:20:07 +01:00
|
|
|
class GenericProject : public ProjectExplorer::Project
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2019-05-28 13:49:26 +02:00
|
|
|
explicit GenericProject(const Utils::FilePath &filename);
|
2009-03-19 17:58:56 +01:00
|
|
|
|
2019-10-23 09:49:27 +02:00
|
|
|
void editFilesTriggered();
|
2021-07-14 16:49:42 +02:00
|
|
|
void removeFilesTriggered(const Utils::FilePaths &filesToRemove);
|
2009-03-10 14:20:07 +01:00
|
|
|
|
|
|
|
|
private:
|
2019-10-23 09:49:27 +02:00
|
|
|
RestoreResult fromMap(const QVariantMap &map, QString *errorMessage) final;
|
|
|
|
|
ProjectExplorer::DeploymentKnowledge deploymentKnowledge() const final;
|
2021-05-05 11:18:51 +02:00
|
|
|
void configureAsExampleProject(ProjectExplorer::Kit *kit) override;
|
2009-03-10 14:20:07 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace GenericProjectManager
|