summaryrefslogtreecommitdiff
path: root/app/pebbleappiconprovider.h
blob: c76641acfcefdfb1698584e84845b91cb17554ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef PEBBLEAPPICONPROVIDER_H
#define PEBBLEAPPICONPROVIDER_H

#include <QQuickImageProvider>
#include "pebbledinterface.h"

class PebbleAppIconProvider : public QQuickImageProvider
{
public:
    explicit PebbleAppIconProvider(PebbledInterface *interface);

    QImage requestImage(const QString &id, QSize *size, const QSize &requestedSize);

private:
    PebbledInterface *pebbled;
};

#endif // PEBBLEAPPICONPROVIDER_H