1 #ifndef XINEMACONTROL_H_
2 #define XINEMACONTROL_H_
7 class XinemaControl: public QObject
21 void connect(const QHostAddress &);
22 bool is_connected() const;
24 void list_directory(const QString &);
25 void play_file(const QString &);
27 const QString &get_title() const { return title; }
28 float get_duration() const { return duration; }
29 float get_position() const { return position; }
34 void directory_started(const QString &);
35 void file_added(const QString &);
36 void subdirectory_added(const QString &);
37 void title_changed(const QString &);
38 void duration_changed(float);
39 void position_changed(float);
42 void send_request(const QString &);
45 void data_available();
46 void process_reply(const QString &);