summaryrefslogtreecommitdiff
path: root/gui/androidretracer.h
blob: 53cbe81610fc4cc73e92b72fff35bc0ce48d925a (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
#pragma once

#include <QAtomicInt>
#include <QTcpSocket>

#include "androidutils.h"
#include "retracer.h"

class AndroidRetracer : public Retracer
{
    Q_OBJECT
public:
    AndroidRetracer(QObject *parent);

    void setAndroidFileName(const QString &fileName);

signals:
    void statusMessage(const QString &message);

protected:
    void run() override;

private slots:
    bool setup(QString *error);

private:
    QString m_androdiFileName;
    QString m_serialNumber;
    AndroidUtils m_androidUtils;
    int m_stdoutPort;
    int m_stderrPort;
};