added most of the remaining commands.
[simple-xmbc-rem] / src / xbmc.h
1 #ifndef XBMC_H
2 #define XBMC_H
3
4 #include <QString>
5 #include <QNetworkAccessManager>
6
7 class Xbmc : public QObject
8 {
9     Q_OBJECT
10 public:
11     Xbmc(QObject* parent = 0);
12     ~Xbmc();
13
14     void actionRight();
15     void actionLeft();
16     void actionUp();
17     void actionDown();
18
19     void actionMute();
20     void actionVolumeUp();
21     void actionVolumeDown();
22
23     void actionNextSubtitle();
24     void actionNextLanguage();
25
26     void actionPlay();
27     void actionStop();
28
29     void actionParentDir();
30
31     void actionSelect();
32     void actionEnter();
33
34 private slots:
35     void commandActionFinished();
36
37 private:
38     void do_command_action(int action);
39
40     QNetworkAccessManager *m_manager;
41 };
42
43 #endif // XBMC_H