2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2020 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2019-08-14 11:48:13 +02:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <projectexplorer/devicesupport/desktopdevice.h>
|
|
|
|
|
|
|
|
|
|
namespace McuSupport {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
2020-01-21 16:17:59 +01:00
|
|
|
class McuSupportDevice final : public ProjectExplorer::DesktopDevice
|
2019-08-14 11:48:13 +02:00
|
|
|
{
|
|
|
|
|
Q_DECLARE_TR_FUNCTIONS(McuSupport::Internal::McuSupportDevice)
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
static ProjectExplorer::IDevice::Ptr create();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
McuSupportDevice();
|
|
|
|
|
};
|
|
|
|
|
|
2020-01-21 16:17:59 +01:00
|
|
|
class McuSupportDeviceFactory final : public ProjectExplorer::IDeviceFactory
|
2019-08-14 11:48:13 +02:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
McuSupportDeviceFactory();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace McuSupport
|