summaryrefslogtreecommitdiff
path: root/qmafwwatchlet/qmafwwatchlet.h
blob: 09cdf815fe3f9c0af00a08dc05db9182019c6a73 (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(WatchServer* server);

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

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

}

#endif // QMAFWWATCHLET_H