summaryrefslogtreecommitdiff
path: root/gui/androidretracer.h
blob: f2c758e5a82787c07b16c6b6e2108323fe0fe982 (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();

private slots:
    bool setup(QString *error);

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