6 #ifndef SWIFT_CORE_APPLICATION_UPDATESETTINGS_H
7 #define SWIFT_CORE_APPLICATION_UPDATESETTINGS_H
15 namespace swift::core::application
21 static const char *
key() {
return "updatepreferences"; }
27 static const QStringList d =
37 static const QString name(
"Updates channel/platform");
SWIFT_CORE_EXPORT swift::core::CApplication * sApp
Single instance of application object.
swift::misc::db::CUpdateInfo getUpdateInfo() const
Update info.
bool isEmpty() const
Empty (no data)
QStringList anticipateMyDefaultChannelAndPlatform() const
Default channel, OS.
Update info settings, QStringList with 2 values: channel/platform.
static const QStringList & defaultValue()
Return the value to use in case the supplied value does not satisfy the validator....
static const QString & humanReadable()
Optional human readable name.
static const char * key()
Key string of the value. Reimplemented in derived class.
Base class for traits to be used as template argument to swift::misc::CSetting.