forked from qt-creator/qt-creator
Docker: Partially split out kit item autodetection
Most of it is independent of the docker device as such, this should be centralized somehow. This here is a first step. Change-Id: If32063559a4c7c6c3cecf1973e1ef1f634e5f8f4 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -122,6 +122,24 @@ private:
|
||||
friend class DockerDeviceWidget;
|
||||
};
|
||||
|
||||
class KitDetector : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit KitDetector(const ProjectExplorer::IDevice::ConstPtr &device);
|
||||
~KitDetector() override;
|
||||
|
||||
void autoDetect(const QString &sharedId) const;
|
||||
void undoAutoDetect(const QString &sharedId) const;
|
||||
|
||||
signals:
|
||||
void logOutput(const QString &msg);
|
||||
|
||||
private:
|
||||
class KitDetectorPrivate *d = nullptr;
|
||||
};
|
||||
|
||||
class DockerDeviceFactory final : public ProjectExplorer::IDeviceFactory
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user