1 #ifndef XINEMACONTROLITEM_H_
2 #define XINEMACONTROLITEM_H_
5 #include "xinemacontrol.h"
7 class XinemaControlItem: public QQuickItem
11 Q_PROPERTY(bool connected READ is_connected NOTIFY connect_state_changed)
14 XinemaControl control;
19 XinemaControl &get_control() { return control; }
20 Q_INVOKABLE void connect(const QString &);
21 bool is_connected() const;
23 Q_INVOKABLE void play_file(const QString &);
26 void connect_state_changed();