2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2022 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2022-04-06 10:15:29 +02:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2022-04-12 21:01:45 +02:00
|
|
|
#include <projectexplorer/devicesupport/idevicefwd.h>
|
|
|
|
|
#include <utils/filepath.h>
|
2022-04-06 10:15:29 +02:00
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
2022-07-13 10:43:31 +02:00
|
|
|
namespace Docker::Internal {
|
2022-04-06 10:15:29 +02:00
|
|
|
|
|
|
|
|
class KitDetector : public QObject
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2022-04-12 21:01:45 +02:00
|
|
|
explicit KitDetector(const ProjectExplorer::IDeviceConstPtr &device);
|
2022-04-06 10:15:29 +02:00
|
|
|
~KitDetector() override;
|
|
|
|
|
|
|
|
|
|
void autoDetect(const QString &sharedId, const Utils::FilePaths &selectedPaths) const;
|
|
|
|
|
void undoAutoDetect(const QString &sharedId) const;
|
|
|
|
|
void listAutoDetected(const QString &sharedId) const;
|
|
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
void logOutput(const QString &msg);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
class KitDetectorPrivate *d = nullptr;
|
|
|
|
|
};
|
|
|
|
|
|
2022-07-13 10:43:31 +02:00
|
|
|
} // Docker::Internal
|