summaryrefslogtreecommitdiffstats
path: root/tools/runonphone/symbianutils/launcher.h
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-04-12 06:39:45 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-04-12 06:39:45 (GMT)
commit757b9bf63dedbc33205f482c80f6843b738aa389 (patch)
treec352479613d29878e57de82b4141c17af662d044 /tools/runonphone/symbianutils/launcher.h
parentf710d57af1cc03af143573135390e6c68eecbfe8 (diff)
parent27f8facfea87d7c4669852e7aa0fe5d9ca828eb3 (diff)
downloadQt-757b9bf63dedbc33205f482c80f6843b738aa389.zip
Qt-757b9bf63dedbc33205f482c80f6843b738aa389.tar.gz
Qt-757b9bf63dedbc33205f482c80f6843b738aa389.tar.bz2
Merge commit 'internal-qt-repo/4.7' into oslo-staging-2/4.7
Conflicts: src/3rdparty/phonon/ds9/mediaobject.cpp
Diffstat (limited to 'tools/runonphone/symbianutils/launcher.h')
-rw-r--r--tools/runonphone/symbianutils/launcher.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/runonphone/symbianutils/launcher.h b/tools/runonphone/symbianutils/launcher.h
index c47285c..6db69d0 100644
--- a/tools/runonphone/symbianutils/launcher.h
+++ b/tools/runonphone/symbianutils/launcher.h
@@ -69,6 +69,7 @@ public:
ActionInstall = 0x2,
ActionCopyInstall = ActionCopy | ActionInstall,
ActionRun = 0x4,
+ ActionDownload = 0x8,
ActionCopyRun = ActionCopy | ActionRun,
ActionInstallRun = ActionInstall | ActionRun,
ActionCopyInstallRun = ActionCopy | ActionInstall | ActionRun
@@ -94,6 +95,7 @@ public:
QString trkServerName() const;
void setFileName(const QString &name);
void setCopyFileName(const QString &srcName, const QString &dstName);
+ void setDownloadFileName(const QString &srcName, const QString &dstName);
void setInstallFileName(const QString &name);
void setCommandLineArgs(const QStringList &args);
bool startServer(QString *errorMessage);
@@ -132,6 +134,8 @@ signals:
void copyingStarted();
void canNotConnect(const QString &errorMessage);
void canNotCreateFile(const QString &filename, const QString &errorMessage);
+ void canNotOpenFile(const QString &filename, const QString &errorMessage);
+ void canNotOpenLocalFile(const QString &filename, const QString &errorMessage);
void canNotWriteFile(const QString &filename, const QString &errorMessage);
void canNotCloseFile(const QString &filename, const QString &errorMessage);
void installingStarted();
@@ -164,8 +168,11 @@ private:
void handleRemoteProcessKilled(const TrkResult &result);
void handleConnect(const TrkResult &result);
void handleFileCreation(const TrkResult &result);
+ void handleFileOpened(const TrkResult &result);
void handleCopy(const TrkResult &result);
+ void handleRead(const TrkResult &result);
void continueCopying(uint lastCopiedBlockSize = 0);
+ void continueReading();
void closeRemoteFile(bool failed = false);
void handleFileCopied(const TrkResult &result);
void handleInstallPackageFinished(const TrkResult &result);
@@ -177,6 +184,7 @@ private:
void handleTrkVersion(const TrkResult &result);
void copyFileToRemote();
+ void copyFileFromRemote();
void installRemotePackageSilently();
void startInferiorIfNeeded();
void handleFinished();