diff options
author | kh1 <karsten.heimrich@nokia.com> | 2012-06-13 16:25:47 +0200 |
---|---|---|
committer | Niels Weber <niels.2.weber@nokia.com> | 2012-08-17 12:54:59 +0200 |
commit | 92948d7ff39bae797191c9e1f8e0876aad1efe9a (patch) | |
tree | c140853c534d033e89a5fe40f323b136da4af3f7 /src/libs/installer/packagemanagercore.h | |
parent | 9cad5d54cf0d78e92b4ee831299d83b657f42f2e (diff) |
Add new commandline argument.
In case we run an offline installer, --create-offline-repository
will dump the whole installer content into the install directory
and add an extra url to the repositories pointing to the mentioned
local repository. This allows an offline user to add packages
without the need of a new installation.
Change-Id: I3e7eb0c56f632b74f5ea41b96bf3d9be83173f41
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Diffstat (limited to 'src/libs/installer/packagemanagercore.h')
-rw-r--r-- | src/libs/installer/packagemanagercore.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/installer/packagemanagercore.h b/src/libs/installer/packagemanagercore.h index c3c42fad7..f99898717 100644 --- a/src/libs/installer/packagemanagercore.h +++ b/src/libs/installer/packagemanagercore.h @@ -98,6 +98,9 @@ public: static bool noForceInstallation(); static void setNoForceInstallation(bool value); + static bool createLocalRepositoryFromBinary(); + static void setCreateLocalRepositoryFromBinary(bool create); + bool fetchLocalPackagesTree(); LocalPackagesHash localInstalledPackages(); @@ -233,9 +236,6 @@ public: bool needsRestart() const; bool finishedWithSuccess() const; - Q_INVOKABLE bool createLocalRepositoryFromBinary() const; - Q_INVOKABLE void setCreateLocalRepositoryFromBinary(bool create); - public Q_SLOTS: bool runInstaller(); bool runUninstaller(); |