Wireshark 5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
SparkleUpdateBackend Class Reference
Inheritance diagram for SparkleUpdateBackend:
SoftwareUpdateBackend

Public Member Functions

QString info () const override
 Name of the update framework, shown in the feature list.
bool supportsAppcast () const override
 Whether updates come from our appcast servers.
QString osName () const override
 OS name used for the appcast URL and the appcast "os" filter.
void init (const QUrl &appcastUrl, bool runWithoutSilentCheck) override
 Initialize the update framework.
void performUIUpdate () override
 Start the user-visible update process.
Public Member Functions inherited from SoftwareUpdateBackend
virtual void cleanup ()
 Release resources held by the update framework.
virtual bool checkForUpdates ()
 Run a background update check through the platform mechanism.

Additional Inherited Members

Static Public Member Functions inherited from SoftwareUpdateBackend
static SoftwareUpdateBackend * create ()
 Create the backend for this platform.

Member Function Documentation

◆ info()

QString SparkleUpdateBackend::info ( ) const
inlineoverridevirtual

Name of the update framework, shown in the feature list.

Implements SoftwareUpdateBackend.

◆ init()

void SparkleUpdateBackend::init ( const QUrl & appcastUrl,
bool runWithoutSilentCheck )
inlineoverridevirtual

Initialize the update framework.

Parameters
appcastUrlThe appcast feed URL, empty if supportsAppcast() returns false.
runWithoutSilentCheckSee SoftwareUpdate::init().

Implements SoftwareUpdateBackend.

◆ osName()

QString SparkleUpdateBackend::osName ( ) const
inlineoverridevirtual

OS name used for the appcast URL and the appcast "os" filter.

Only used if supportsAppcast() returns true.

Reimplemented from SoftwareUpdateBackend.

◆ performUIUpdate()

void SparkleUpdateBackend::performUIUpdate ( )
inlineoverridevirtual

Start the user-visible update process.

Implements SoftwareUpdateBackend.

◆ supportsAppcast()

bool SparkleUpdateBackend::supportsAppcast ( ) const
inlineoverridevirtual

Whether updates come from our appcast servers.

Must be decided explicitly by every backend. Backends returning false (e.g. distribution package managers) never cause a request to our servers.

Implements SoftwareUpdateBackend.


The documentation for this class was generated from the following file: