aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/androiddebugsupport.h
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-09-15 15:43:24 +0200
committerhjk <hjk121@nokiamail.com>2014-09-16 13:37:15 +0200
commit11f89ece8de7763f811d2fe1e45cb27ad4a77519 (patch)
treea7dee848a6453a808a662832e73a278f57c148f9 /src/plugins/android/androiddebugsupport.h
parent3fb7c81a926b50c8b2c6886fb69cb8a274c4de8a (diff)
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>
Diffstat (limited to 'src/plugins/android/androiddebugsupport.h')
-rw-r--r--src/plugins/android/androiddebugsupport.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/src/plugins/android/androiddebugsupport.h b/src/plugins/android/androiddebugsupport.h
index ef705f644a..5e9b7ec886 100644
--- a/src/plugins/android/androiddebugsupport.h
+++ b/src/plugins/android/androiddebugsupport.h
@@ -30,12 +30,13 @@
#ifndef ANDROIDDEBUGSUPPORT_H
#define ANDROIDDEBUGSUPPORT_H
-#include "androidrunsupport.h"
+#include "androidrunconfiguration.h"
namespace Debugger {
class DebuggerEngine;
class DebuggerRunControl;
}
+
namespace ProjectExplorer { class RunControl; }
namespace Android {
@@ -44,27 +45,23 @@ class AndroidRunConfiguration;
namespace Internal {
class AndroidRunner;
-class AndroidDebugSupport : public AndroidRunSupport
+class AndroidDebugSupport : public QObject
{
Q_OBJECT
public:
- static ProjectExplorer::RunControl *createDebugRunControl(AndroidRunConfiguration *runConfig,
- QString *errorMessage);
-
AndroidDebugSupport(AndroidRunConfiguration *runConfig,
Debugger::DebuggerRunControl *runControl);
-private slots:
- void handleRemoteServerRunning(const QByteArray &serverChannel, int pid);
- void handleRemoteProcessStarted(int gdbServerPort, int qmlPort);
- void handleRemoteProcessFinished(const QString &errorMsg);
-
- void handleRemoteOutput(const QByteArray &output);
- void handleRemoteErrorOutput(const QByteArray &output);
+ static ProjectExplorer::RunControl *createDebugRunControl(AndroidRunConfiguration *runConfig,
+ QString *errorMessage);
private:
+ void handleRemoteProcessStarted(int gdbServerPort, int qmlPort);
+
Debugger::DebuggerEngine *m_engine;
+ Debugger::DebuggerRunControl *m_runControl;
+ AndroidRunner * const m_runner;
};
} // namespace Internal