aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/boot2qt/qdbdevicedebugsupport.h
blob: 3c4fb3b0499d5afa79b0938edce3c068785f07e0 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include <debugger/debuggerruncontrol.h>
#include <qmldebug/qmldebugcommandlinearguments.h>

namespace Qdb {

class QdbDeviceInferiorRunner;

class QdbDeviceDebugSupport : public Debugger::DebuggerRunTool
{
public:
    QdbDeviceDebugSupport(ProjectExplorer::RunControl *runControl);

private:
    void start();
    void stop();

    QdbDeviceInferiorRunner *m_debuggee = nullptr;
};

class QdbDeviceQmlToolingSupport : public ProjectExplorer::RunWorker
{
public:
    QdbDeviceQmlToolingSupport(ProjectExplorer::RunControl *runControl);

private:
    void start() override;

    QdbDeviceInferiorRunner *m_runner = nullptr;
    ProjectExplorer::RunWorker *m_worker = nullptr;
};

class QdbDevicePerfProfilerSupport : public ProjectExplorer::RunWorker
{
public:
    QdbDevicePerfProfilerSupport(ProjectExplorer::RunControl *runControl);

private:
    void start() override;

    QdbDeviceInferiorRunner *m_profilee = nullptr;
};

} // namespace Qdb