diff options
author | Tim Jenssen <tim.jenssen@nokia.com> | 2012-04-25 14:14:56 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@nokia.com> | 2012-04-27 16:23:20 +0200 |
commit | 0a8755ace26f1174e9ed99e5060c4d8da0ba010d (patch) | |
tree | 7d73b3e0151b06707d8b9df5cef25be7203a420f /src/libs/installer/packagemanagercore.h | |
parent | ff6179ea53debd66e63738382b3af62087b81af7 (diff) |
now installer can disallow to install from a remote location
- at the moment the implementation is windows only
- in some cases it is problematically to install big installers from a
remote location: if the connection is lost -> crash
- the installer itself can have the flag DependsOnLocalInstallerBinary in the config.xml file
- or a component can request that installer.setDependsOnLocalInstallerBinary()
Change-Id: I0c8d70ca89dd55d2d0c52bf3418f11c95b5290a1
Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Diffstat (limited to 'src/libs/installer/packagemanagercore.h')
-rw-r--r-- | src/libs/installer/packagemanagercore.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/installer/packagemanagercore.h b/src/libs/installer/packagemanagercore.h index cae72c214..ec360d5db 100644 --- a/src/libs/installer/packagemanagercore.h +++ b/src/libs/installer/packagemanagercore.h @@ -112,6 +112,9 @@ public: RunMode runMode() const; void reset(const QHash<QString, QString> ¶ms); + Q_INVOKABLE void setDependsOnLocalInstallerBinary(); + Q_INVOKABLE bool localInstallerBinaryUsed(); + Q_INVOKABLE QList<QVariant> execute(const QString &program, const QStringList &arguments = QStringList(), const QString &stdIn = QString()) const; Q_INVOKABLE bool executeDetached(const QString &program, |