forked from qt-creator/qt-creator
Android: Use specific classes for run worker factories
Slimmer file interfaces. Change-Id: I2cf846c04000eb29fe53219db9a97088b6b9a1aa Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -3,26 +3,14 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "androidrunner.h"
|
||||
#include <debugger/debuggerruncontrol.h>
|
||||
#include <projectexplorer/runcontrol.h>
|
||||
|
||||
namespace Android {
|
||||
namespace Internal {
|
||||
namespace Android::Internal {
|
||||
|
||||
class AndroidDebugSupport : public Debugger::DebuggerRunTool
|
||||
class AndroidDebugWorkerFactory final : public ProjectExplorer::RunWorkerFactory
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
AndroidDebugSupport(ProjectExplorer::RunControl *runControl,
|
||||
const QString &intentName = QString());
|
||||
|
||||
void start() override;
|
||||
void stop() override;
|
||||
|
||||
private:
|
||||
AndroidRunner *m_runner = nullptr;
|
||||
AndroidDebugWorkerFactory();
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Android
|
||||
} // Android::Internal
|
||||
|
||||
Reference in New Issue
Block a user