Android: Separate debug and analyze support

The common base class contains only unused functionality.

Change-Id: I5f6db59a2972d6ab8383ce209937090cd46ae39d
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
hjk
2014-09-15 15:43:24 +02:00
parent 3fb7c81a92
commit 11f89ece8d
8 changed files with 89 additions and 265 deletions

View File

@@ -30,7 +30,7 @@
#ifndef ANDROIDANALYZESUPPORT_H
#define ANDROIDANALYZESUPPORT_H
#include "androidrunsupport.h"
#include "androidrunconfiguration.h"
#include <qmldebug/qmloutputparser.h>
namespace Analyzer { class AnalyzerRunControl; }
@@ -40,28 +40,19 @@ namespace Android {
class AndroidRunConfiguration;
namespace Internal {
class AndroidRunner;
class AndroidAnalyzeSupport : public AndroidRunSupport
class AndroidAnalyzeSupport : public QObject
{
Q_OBJECT
public:
static ProjectExplorer::RunControl *createAnalyzeRunControl(AndroidRunConfiguration *runConfig,
ProjectExplorer::RunMode runMode);
AndroidAnalyzeSupport(AndroidRunConfiguration *runConfig,
Analyzer::AnalyzerRunControl *runControl);
private slots:
void handleRemoteProcessFinished(const QString &errorMsg);
void handleRemoteOutput(const QByteArray &output);
void handleRemoteErrorOutput(const QByteArray &output);
void remoteIsRunning();
static ProjectExplorer::RunControl *createAnalyzeRunControl(AndroidRunConfiguration *runConfig,
ProjectExplorer::RunMode runMode);
private:
Analyzer::AnalyzerRunControl *m_runControl;
QmlDebug::QmlOutputParser m_outputParser;
int m_qmlPort;
};