Commit 22e2c0ad authored by Christian Kandeler's avatar Christian Kandeler
Browse files

RemoteLinux: Make GenericDirectUploadService extensible.

Change-Id: I461358e87a5d895e904d01c837f27befca85560c
Reviewed-on: http://codereview.qt-project.org/5530

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent 9ceabbac
...@@ -54,6 +54,16 @@ public: ...@@ -54,6 +54,16 @@ public:
void setDeployableFiles(const QList<DeployableFile> &deployableFiles); void setDeployableFiles(const QList<DeployableFile> &deployableFiles);
void setIncrementalDeployment(bool incremental); void setIncrementalDeployment(bool incremental);
protected:
bool isDeploymentPossible(QString *whyNot) const;
bool isDeploymentNecessary() const;
void doDeviceSetup();
void stopDeviceSetup();
void doDeploy();
void stopDeployment();
private slots: private slots:
void handleSftpInitialized(); void handleSftpInitialized();
void handleSftpInitializationFailed(const QString &errorMessage); void handleSftpInitializationFailed(const QString &errorMessage);
...@@ -64,15 +74,6 @@ private slots: ...@@ -64,15 +74,6 @@ private slots:
void handleStdErrData(const QByteArray &data); void handleStdErrData(const QByteArray &data);
private: private:
bool isDeploymentPossible(QString *whyNot) const;
bool isDeploymentNecessary() const;
void doDeviceSetup();
void stopDeviceSetup();
void doDeploy();
void stopDeployment();
void checkDeploymentNeeded(const DeployableFile &file) const; void checkDeploymentNeeded(const DeployableFile &file) const;
void setFinished(); void setFinished();
void uploadNextFile(); void uploadNextFile();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment