mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-10 05:55:33 +08:00
Ref T40, utility functions
This commit is contained in:
committed by
Mathew Sutcliffe
parent
64da9f215a
commit
523f650a34
@@ -45,6 +45,18 @@ namespace BlackMisc
|
||||
//! Find distribution by channels
|
||||
CDistribution findByChannelOrDefault(const QString &channel) const;
|
||||
|
||||
//! Version for specific channel and platform
|
||||
QString getVersionForChannelAndPlatform(const QString &channel, const QString &platform) const;
|
||||
|
||||
//! Version for specific channel and platform
|
||||
QVersionNumber getQVersionForChannelAndPlatform(const QString &channel, const QString &platform) const;
|
||||
|
||||
//! Version for specific channel and platform
|
||||
QString getVersionForChannelAndPlatform(const QStringList &channelPlatform) const;
|
||||
|
||||
//! Version for specific channel and platform
|
||||
QVersionNumber getQVersionForChannelAndPlatform(const QStringList &channelPlatform) const;
|
||||
|
||||
//! From database JSON
|
||||
static CDistributionList fromDatabaseJson(const QJsonArray &array);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user