10#ifndef SOFTWARE_UPDATE_BACKEND_H
11#define SOFTWARE_UPDATE_BACKEND_H
44 virtual QString
info()
const = 0;
59 virtual QString
osName()
const {
return QString(); }
67 virtual void init(
const QUrl &appcastUrl,
bool runWithoutSilentCheck) = 0;
Definition software_update_backend.h:31
virtual void init(const QUrl &appcastUrl, bool runWithoutSilentCheck)=0
Initialize the update framework.
virtual void cleanup()
Release resources held by the update framework.
Definition software_update_backend.h:77
virtual QString info() const =0
Name of the update framework, shown in the feature list.
virtual bool supportsAppcast() const =0
Whether updates come from our appcast servers.
virtual bool checkForUpdates()
Run a background update check through the platform mechanism.
Definition software_update_backend.h:91
static SoftwareUpdateBackend * create()
Create the backend for this platform.
Definition software_update_backend_linux.cpp:233
virtual QString osName() const
OS name used for the appcast URL and the appcast "os" filter.
Definition software_update_backend.h:59
virtual void performUIUpdate()=0
Start the user-visible update process.