383c83db7a8f9c54de9043bf5759103b1aa905ee
[simple-xmbc-rem] / src / mainwindow.h
1 // checksum 0x9a77 version 0x20001
2 /*
3   This file was generated by the Mobile Qt Application wizard of Qt Creator.
4   MainWindow is a convenience class containing mobile device specific code
5   such as screen orientation handling.
6   It is recommended not to modify this file, since newer versions of Qt Creator
7   may offer an updated version of it.
8 */
9
10 #ifndef MAINWINDOW_H
11 #define MAINWINDOW_H
12
13 #include <QMainWindow>
14
15 #include "xbmc.h"
16
17 namespace Ui {
18     class MainWindow;
19 }
20
21 class MainWindow : public QMainWindow
22 {
23     Q_OBJECT
24 public:
25     enum ScreenOrientation {
26         ScreenOrientationLockPortrait,
27         ScreenOrientationLockLandscape,
28         ScreenOrientationAuto
29     };
30
31     explicit MainWindow(QWidget *parent = 0);
32     virtual ~MainWindow();
33
34     void setOrientation(ScreenOrientation orientation);
35     void showExpanded();
36
37 private slots:
38     void on_actionSetup_triggered();
39
40     void on_rightBtn_clicked();
41     void on_leftBtn_clicked();
42     void on_upBtn_clicked();
43     void on_downBtn_clicked();
44     void on_selectButton_clicked();
45
46     void on_playBtn_clicked();
47     void on_stopBtn_clicked();
48
49     void on_muteBtn_clicked();
50     void on_volumeUpBtn_clicked();
51     void on_volumeDownBtn_clicked();
52
53     void on_nextSubtitleBtn_clicked();
54     void on_nextLanguageBtn_clicked();
55
56 private:
57     Ui::MainWindow *m_ui;
58     Xbmc* m_xbmc;
59 };
60
61 #endif // MAINWINDOW_H