Skip to content
Snippets Groups Projects
Commit d469a623 authored by ck's avatar ck
Browse files

Add part missing in bf8227a721e5f7bd1e354ca4533aed4cafe23c80.

parent e0f79f88
No related branches found
No related tags found
No related merge requests found
......@@ -67,9 +67,13 @@ public:
virtual ~AbstractMaemoRunControl();
protected:
virtual bool isRunning() const;
void startDeployment(bool forDebugging);
void deploy();
void stopDeployment();
void stopRunning(bool forDebugging);
void run(const QString &remoteCall);
void handleError(const QString &errString);
bool isDeploying() const;
const QString executableOnHost() const;
......@@ -89,9 +93,13 @@ protected:
private:
virtual void handleDeploymentFinished(bool success)=0;
virtual void handleExecutionAboutToStart(const MaemoSshRunner *runner)=0;
void kill(const QStringList &apps);
QFutureInterface<void> m_progress;
QScopedPointer<MaemoSshDeployer> sshDeployer;
QScopedPointer<MaemoSshRunner> sshRunner;
QScopedPointer<MaemoSshRunner> sshStopper;
struct Deployable
{
......@@ -113,7 +121,6 @@ public:
~MaemoRunControl();
void start();
void stop();
bool isRunning() const;
private slots:
void executionFinished();
......@@ -121,10 +128,9 @@ private slots:
private:
virtual void handleDeploymentFinished(bool success);
virtual void handleExecutionAboutToStart(const MaemoSshRunner *runner);
void startExecution();
QScopedPointer<MaemoSshRunner> sshRunner;
QScopedPointer<MaemoSshRunner> sshStopper;
bool stoppedByUser;
};
......@@ -148,14 +154,13 @@ private slots:
private:
virtual void handleDeploymentFinished(bool success);
virtual void handleExecutionAboutToStart(const MaemoSshRunner *runner);
QString gdbServerPort() const;
void startGdbServer();
void gdbServerStartFailed(const QString &reason);
void startDebugging();
QScopedPointer<MaemoSshRunner> sshRunner;
QScopedPointer<MaemoSshRunner> sshStopper;
Debugger::DebuggerManager *debuggerManager;
QSharedPointer<Debugger::DebuggerStartParameters> startParams;
int inferiorPid;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment