ssufeaturemanager.h 546 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
/**
 * @file ssufeaturemanager.h
 * @copyright 2013 Jolla Ltd.
 * @author Bernd Wachter <bwachter@lart.info>
 * @date 2013
 */

#ifndef _SSUFEATUREMANAGER_H
#define _SSUFEATUREMANAGER_H

#include <QObject>
#include <QHash>
#include <QStringList>

Aard's avatar
Aard committed
15
#include "ssu.h"
16
#include "ssusettings_p.h"
17

18 19
class SsuFeatureManager: public QObject
{
20 21
    Q_OBJECT

22
public:
Aard's avatar
Aard committed
23
    SsuFeatureManager();
24
    QStringList repos(bool rndRepo, int filter = Ssu::NoFilter);
Aard's avatar
Aard committed
25
    QString url(QString repo, bool rndRepo);
26

27
private:
28 29 30 31
    SsuSettings *featureSettings;
};

#endif