-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathm6_main.h
36 lines (29 loc) · 790 Bytes
/
m6_main.h
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
33
34
35
36
#include <QObject>
#include <QStringList>
#include <MafwRenderer.h>
#include <MafwMediaInfo.h>
class MafwShared;
class MafwRegistry;
class MafwTrackerModelFactory;
class MafwTrackerModelConnection;
class Listener : public QObject
{
Q_OBJECT
public:
Listener(QObject *parent = NULL);
bool init(void);
private slots:
void next(void);
void metadata_changed(const QString&, const QList<QVariant>&);
void state_changed(MafwRenderer::State);
void favorited(const QSet<int>& ids);
void unfavorited(const QSet<int>& ids);
void set_favorite(const QSet<int>& ids, bool on);
void got_info(QList<QStringList> rows, bool foo);
private:
MafwShared *shared;
MafwRegistry *registry;
MafwRenderer *renderer;
MafwTrackerModelFactory *tk_factory;
MafwTrackerModelConnection *tk_conn;
};