// This should be protected
void setDisplayVersion(const QString &value) { displayVersion = value; }
+ /// true if the app can be stopped and relaunched without user interaction
virtual bool getImmediateInstallAndRelaunch() const { return immediateInstallAndRelaunch; }
virtual void setImmediateInstallAndRelaunch(bool value) { immediateInstallAndRelaunch = value; }
+ /// true if the app has to be relaunched after the update has completed
+ virtual bool getRelaunchAfterInstall() const { return relaunchAfterInstall; }
+ virtual void setRelaunchAfterInstall(bool value) { relaunchAfterInstall = value; }
+
+ /// when true an available update will be downloaded without user interaction
virtual bool getAutomaticDownload() const { return automaticDownload; }
virtual void setAutomaticDownload(bool value) { automaticDownload = value; }
bool automaticDownload = true;
bool immediateInstallAndRelaunch = false;
+ bool relaunchAfterInstall = false;
Status status = Status::UpToDate;
QString version;
QString displayVersion;