8#ifndef _SSUREPOMANAGER_H
9#define _SSUREPOMANAGER_H
18class SsuRepoManager:
public QObject
32 int add(
const QString &repo,
const QString &repoUrl = QString());
49 int disable(
const QString &repo);
57 int enable(
const QString &repo);
65 int remove(
const QString &repo);
88 QStringList
repoVariables(QHash<QString, QString> *storageHash,
bool rnd =
false);
97 QString
url(
const QString &repoName,
bool rndRepo =
false,
98 QHash<QString, QString> repoParameters = QHash<QString, QString>(),
99 QHash<QString, QString> parametersOverride = QHash<QString, QString>());
int remove(const QString &repo)
int add(const QString &repo, const QString &repoUrl=QString())
QStringList repos(int filter=Ssu::NoFilter|Ssu::UserBlacklist)
int enable(const QString &repo)
QString url(const QString &repoName, bool rndRepo=false, QHash< QString, QString > repoParameters=QHash< QString, QString >(), QHash< QString, QString > parametersOverride=QHash< QString, QString >())
int disable(const QString &repo)
static QString caCertificatePath(const QString &domain=QString())
QStringList repoVariables(QHash< QString, QString > *storageHash, bool rnd=false)
@ NoFilter
All repositories (global | user).
@ UserBlacklist
User blacklist applied.