QtAutoUpdater  3.0.0
A Qt library to automatically check for updates and install them
Public Member Functions | List of all members
QtAutoUpdater::UpdaterBackend::IConfigReader Class Referenceabstract

A helper interface to allow backend generic access to a backends configuration. More...

#include <updaterbackend.h>

Public Member Functions

virtual QString backend () const =0
 Returns the key of the backend to be loaded.
 
virtual std::optional< QVariantvalue (const QString &key) const =0
 Returns a configuration value, but only if it exists.
 
virtual QVariant value (const QString &key, const QVariant &defaultValue) const =0
 Returns a configuration value if it exists, the default value otherwise.
 

Detailed Description

A helper interface to allow backend generic access to a backends configuration.

Definition at line 39 of file updaterbackend.h.


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