summaryrefslogtreecommitdiff
path: root/qmafwwatchlet/qmafwwatchlet.h
blob: d3c2bd22272577df630b505905cadba308f13488 (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
#ifndef QMAFWWATCHLET_H
#define QMAFWWATCHLET_H

#include <sowatch.h>

#include <MafwRegistry.h>

namespace sowatch
{

class QMafwWatchletPlayer;

class QMafwWatchlet : public DeclarativeWatchlet
{
    Q_OBJECT
public:
	explicit QMafwWatchlet(WatchServer* server);

private:
	MafwRegistry* _registry;
	QMafwWatchletPlayer* _player;

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

}

#endif // QMAFWWATCHLET_H