aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/boot2qt/qdbdevice.h
blob: 19dc7fbb5db15eeead8eb8b8378acd66e4ba281e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <projectexplorer/kit.h>
#include <remotelinux/linuxdevice.h>

namespace Qdb::Internal {

class QdbDevice final : public RemoteLinux::LinuxDevice
{
public:
    typedef std::shared_ptr<QdbDevice> Ptr;
    typedef std::shared_ptr<const QdbDevice> ConstPtr;

    static Ptr create() { return Ptr(new QdbDevice); }

    ProjectExplorer::IDeviceWidget *createWidget() final;

    Utils::ProcessInterface *createProcessInterface() const override;

    void setupDefaultNetworkSettings(const QString &host);

private:
    QdbDevice();
};

void setupQdbLinuxDevice();

} // Qdb::Internal