summaryrefslogtreecommitdiff
path: root/qmafwwatchlet/qmafwwatchlet.h
blob: afec03a27f0545397112858f3a513305c3a7eb62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef QMAFWWATCHLET_H
#define QMAFWWATCHLET_H

#include <sowatch.h>

#include <MafwRegistry.h>

namespace sowatch
{

class QMafwWatchletPlayer;
class QMafwWatchletVolumeControl;

class QMafwWatchlet : public DeclarativeWatchlet
{
    Q_OBJECT
public:
	explicit QMafwWatchlet(Watch* watch);

private:
	MafwRegistry *_registry;
	QMafwWatchletPlayer *_player;
	QMafwWatchletVolumeControl *_volumeControl;

private slots:
	void handleRendererAdded(const QString & uuid);
	void handleRendererRemoved(const QString & uuid);
};

}

#endif // QMAFWWATCHLET_H