aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qnx/qnxdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qnx/qnxdevice.h')
-rw-r--r--src/plugins/qnx/qnxdevice.h34
1 files changed, 1 insertions, 33 deletions
diff --git a/src/plugins/qnx/qnxdevice.h b/src/plugins/qnx/qnxdevice.h
index f4efa3e1f25..c4b484f478c 100644
--- a/src/plugins/qnx/qnxdevice.h
+++ b/src/plugins/qnx/qnxdevice.h
@@ -3,42 +3,10 @@
#pragma once
-#include <remotelinux/linuxdevice.h>
+#include <projectexplorer/devicesupport/idevicefactory.h>
namespace Qnx::Internal {
-class QnxDevice final : public RemoteLinux::LinuxDevice
-{
-public:
- using Ptr = QSharedPointer<QnxDevice>;
- using ConstPtr = QSharedPointer<const QnxDevice>;
-
- static Ptr create() { return Ptr(new QnxDevice); }
-
- ProjectExplorer::PortsGatheringMethod portsGatheringMethod() const override;
- ProjectExplorer::DeviceProcessList *createProcessListModel(QObject *parent) const override;
- ProjectExplorer::DeviceProcessSignalOperation::Ptr signalOperation() const override;
-
- ProjectExplorer::DeviceTester *createDeviceTester() const override;
- Utils::ProcessInterface *createProcessInterface() const override;
-
- int qnxVersion() const;
-
-protected:
- void fromMap(const QVariantMap &map) final;
- QVariantMap toMap() const final;
-
- QString interruptProcessByNameCommandLine(const QString &filePath) const;
- QString killProcessByNameCommandLine(const QString &filePath) const;
-
-private:
- QnxDevice();
-
- void updateVersionNumber() const;
-
- mutable int m_versionNumber = 0;
-};
-
class QnxDeviceFactory final : public ProjectExplorer::IDeviceFactory
{
public: